summaryrefslogtreecommitdiff
path: root/examples/muc.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-21 01:28:24 +0900
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-21 01:28:24 +0900
commit813b45adede211e71bafce984deda2b4fda01ee8 (patch)
tree87a0f9a4c52d245ea34a8a7e218300607aeaf347 /examples/muc.py
parent3a9b45e4f279c430242f8d6f3ee7c9506ba0d208 (diff)
downloadslixmpp-813b45adede211e71bafce984deda2b4fda01ee8.tar.gz
slixmpp-813b45adede211e71bafce984deda2b4fda01ee8.tar.bz2
slixmpp-813b45adede211e71bafce984deda2b4fda01ee8.tar.xz
slixmpp-813b45adede211e71bafce984deda2b4fda01ee8.zip
XEP-0045: Remove support for old-style {get,set,del}TitleCase methods.
Diffstat (limited to 'examples/muc.py')
-rwxr-xr-xexamples/muc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/muc.py b/examples/muc.py
index 5f18a143..469e8f49 100755
--- a/examples/muc.py
+++ b/examples/muc.py
@@ -67,11 +67,11 @@ class MUCBot(slixmpp.ClientXMPP):
"""
self.get_roster()
self.send_presence()
- self.plugin['xep_0045'].joinMUC(self.room,
- self.nick,
- # If a room password is needed, use:
- # password=the_room_password,
- wait=True)
+ self.plugin['xep_0045'].join_muc(self.room,
+ self.nick,
+ # If a room password is needed, use:
+ # password=the_room_password,
+ wait=True)
def muc_message(self, msg):
"""