Merge branch 'master' into develop
This commit is contained in:
commit
19a78f63f4
2 changed files with 1 additions and 7 deletions
|
@ -226,13 +226,6 @@ class BaseXMPP(XMLStream):
|
|||
- The send queue processor
|
||||
- The scheduler
|
||||
"""
|
||||
if 'xep_0115' in self.plugin:
|
||||
name = 'xep_0115'
|
||||
if not hasattr(self.plugin[name], 'post_inited'):
|
||||
if hasattr(self.plugin[name], 'post_init'):
|
||||
self.plugin[name].post_init()
|
||||
self.plugin[name].post_inited = True
|
||||
|
||||
for name in self.plugin:
|
||||
if not hasattr(self.plugin[name], 'post_inited'):
|
||||
if hasattr(self.plugin[name], 'post_init'):
|
||||
|
|
|
@ -52,4 +52,5 @@ class XEP_0085(BasePlugin):
|
|||
def _handle_chat_state(self, msg):
|
||||
state = msg['chat_state']
|
||||
log.debug("Chat State: %s, %s", state, msg['from'].jid)
|
||||
self.xmpp.event('chatstate', msg)
|
||||
self.xmpp.event('chatstate_%s' % state, msg)
|
||||
|
|
Loading…
Reference in a new issue