Use slixmpp provided message access here

This commit is contained in:
Luke Murphy 2021-02-27 11:43:12 +01:00
parent 623f2c8bb5
commit d427d58ff1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -157,7 +157,7 @@ class Logbot(Bot):
def group_invite(self, message): def group_invite(self, message):
"""Extend xbotlib invite response logic and do required room setup.""" """Extend xbotlib invite response logic and do required room setup."""
super().group_invite(message) super().group_invite(message)
self._setup_room(message.room) self._setup_room(message["from"])
def group(self, message): def group(self, message):