XEP-0045: Remove support for old-style {get,set,del}TitleCase methods.

This commit is contained in:
Emmanuel Gil Peyrot
2016-09-21 01:28:24 +09:00
parent 3a9b45e4f2
commit 813b45aded
4 changed files with 56 additions and 57 deletions

View File

@@ -63,13 +63,13 @@ has been established:
def start(self, event):
self.get_roster()
self.send_presence()
self.plugin['xep_0045'].joinMUC(self.room,
self.nick,
wait=True)
self.plugin['xep_0045'].join_muc(self.room,
self.nick,
wait=True)
Note that as in :ref:`echobot`, we need to include send an initial presence and request
the roster. Next, we want to join the group chat, so we call the
``joinMUC`` method of the MUC plugin.
``join_muc`` method of the MUC plugin.
.. note::