Mercurial > libervia-web
comparison libervia.py @ 223:624a87377412
browser_side, plugin XEP-0085: limit the number of bridge methods calls for "chatStateComposing".
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 26 Sep 2013 11:13:40 +0200 |
parents | 4e6467efd6bf |
children | 744426c2b699 |
comparison
equal
deleted
inserted
replaced
222:759fd7386e1e | 223:624a87377412 |
---|---|
581 if (good_win and lib_wid.type == 'one2one'): | 581 if (good_win and lib_wid.type == 'one2one'): |
582 if state: | 582 if state: |
583 lib_wid.setTitle(win_from + " (" + state + ")") | 583 lib_wid.setTitle(win_from + " (" + state + ")") |
584 else: | 584 else: |
585 lib_wid.setTitle(win_from) | 585 lib_wid.setTitle(win_from) |
586 # start to send "composing" state from now | |
587 lib_wid.state_machine.started = True | |
586 elif (lib_wid.type == 'group'): | 588 elif (lib_wid.type == 'group'): |
587 # TODO: chat state notification for groupchat | 589 # TODO: chat state notification for groupchat |
588 pass | 590 pass |
589 | 591 |
590 if __name__ == '__main__': | 592 if __name__ == '__main__': |