summaryrefslogtreecommitdiff
path: root/src/core/handlers.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-09-30 22:11:38 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-30 22:11:38 +0200
commit37fe4be7ec35278f23c9f5c07607c3a14e6b6753 (patch)
treecf7601cc9409c930edcfdef522e63d188cc10a94 /src/core/handlers.py
parent5a618cf2c2f0a2d7cbc06dd240199799610ba544 (diff)
downloadpoezio-37fe4be7ec35278f23c9f5c07607c3a14e6b6753.tar.gz
poezio-37fe4be7ec35278f23c9f5c07607c3a14e6b6753.tar.bz2
poezio-37fe4be7ec35278f23c9f5c07607c3a14e6b6753.tar.xz
poezio-37fe4be7ec35278f23c9f5c07607c3a14e6b6753.zip
Fix an other call to an old SleekXMPP function name
Diffstat (limited to 'src/core/handlers.py')
-rw-r--r--src/core/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 54a5885d..fe0865d3 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -622,7 +622,7 @@ def on_chatstate_groupchat_conversation(self, message, state):
Chatstate received in a MUC
"""
nick = message['mucnick']
- room_from = message.getMucroom()
+ room_from = message.get_mucroom()
tab = self.get_tab_by_name(room_from, tabs.MucTab)
if tab and tab.get_user_by_name(nick):
self.events.trigger('muc_chatstate', message, tab)
@@ -988,7 +988,7 @@ def on_groupchat_subject(self, message):
Triggered when the topic is changed.
"""
nick_from = message['mucnick']
- room_from = message.getMucroom()
+ room_from = message.get_mucroom()
tab = self.get_tab_by_name(room_from, tabs.MucTab)
subject = message['subject']
if not subject or not tab: