Add long message splitting in crosslink
This commit is contained in:
parent
546c723995
commit
79a7fd832d
|
@ -61,8 +61,11 @@ class FRNCrosslinkClient(FRNClient):
|
||||||
ss,
|
ss,
|
||||||
c['on'],
|
c['on'],
|
||||||
))
|
))
|
||||||
reply = '<br/>'.join(cl)
|
sm = [cl[i*15:(i+1)*15]
|
||||||
self.sendTextMessage(client, reply)
|
for i in range((len(cl)+14)/15)]
|
||||||
|
for m in sm:
|
||||||
|
reply = '<br>'.join(m)
|
||||||
|
self.sendTextMessage(client, reply)
|
||||||
|
|
||||||
def decodeTX(self, my_id):
|
def decodeTX(self, my_id):
|
||||||
log.msg("Got TX ack for %s" % self.user.ON)
|
log.msg("Got TX ack for %s" % self.user.ON)
|
||||||
|
|
Loading…
Reference in New Issue