summaryrefslogtreecommitdiff
path: root/src/core/handlers.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-24 15:19:26 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-24 15:19:26 +0200
commitc166e79a896eba0299f16f6f727febd225e62100 (patch)
treef4c7bd971cbe3598cc270d8b32b1e491cf20c3b7 /src/core/handlers.py
parent9c3fece96bee3c381cf0d7bd7022b46c858c6e1b (diff)
downloadpoezio-c166e79a896eba0299f16f6f727febd225e62100.tar.gz
poezio-c166e79a896eba0299f16f6f727febd225e62100.tar.bz2
poezio-c166e79a896eba0299f16f6f727febd225e62100.tar.xz
poezio-c166e79a896eba0299f16f6f727febd225e62100.zip
First adaptation to slixmpp
Diffstat (limited to 'src/core/handlers.py')
-rw-r--r--src/core/handlers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index e9e1c892..654ce376 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -170,7 +170,8 @@ def on_message(self, message):
def on_normal_message(self, message):
"""
- When receiving "normal" messages (from someone in our roster)
+ When receiving "normal" messages (not a private message from a
+ muc participant)
"""
if message['type'] == 'error':
return self.information(self.get_error_message(message, deprecated=True), 'Error')
@@ -889,7 +890,7 @@ def on_session_start(self, event):
show=self.status.show)
if config.get('enable_user_nick', True):
- self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick, callback=dumb_callback, block=False)
+ self.xmpp.plugin['xep_0172'].publish_nick(nick=self.own_nick, callback=dumb_callback)
self.xmpp.plugin['xep_0115'].update_caps()
### Other handlers ###