diff 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
line wrap: on
line diff
--- a/libervia.py	Sun Sep 22 20:52:59 2013 +0200
+++ b/libervia.py	Thu Sep 26 11:13:40 2013 +0200
@@ -583,6 +583,8 @@
                         lib_wid.setTitle(win_from + " (" + state + ")")
                     else:
                         lib_wid.setTitle(win_from)
+                    # start to send "composing" state from now
+                    lib_wid.state_machine.started = True
                 elif (lib_wid.type == 'group'):
                     # TODO: chat state notification for groupchat
                     pass