Merge branch 'master' into develop

This commit is contained in:
Lance Stout 2012-08-24 11:51:03 -07:00
commit 19a78f63f4
2 changed files with 1 additions and 7 deletions

View file

@ -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'):

View file

@ -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)