Examples: remove wait arg to join_muc calls

it hasn’t worked in years, and I removed it recently
This commit is contained in:
mathieui 2020-12-01 19:36:40 +01:00
parent 6ff5162fb4
commit 45a14871ee
2 changed files with 4 additions and 5 deletions

View file

@ -60,12 +60,11 @@ has been established:
.. code-block:: python
def start(self, event):
self.get_roster()
async def start(self, event):
await self.get_roster()
self.send_presence()
self.plugin['xep_0045'].join_muc(self.room,
self.nick,
wait=True)
self.nick)
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

View file

@ -71,7 +71,7 @@ class MUCBot(slixmpp.ClientXMPP):
self.nick,
# If a room password is needed, use:
# password=the_room_password,
wait=True)
)
def muc_message(self, msg):
"""