Fix logging statement for MUC invitations.
This commit is contained in:
parent
5a878f829b
commit
3bff743d9f
@ -137,7 +137,7 @@ class XEP_0045(BasePlugin):
|
||||
def handle_groupchat_invite(self, inv):
|
||||
""" Handle an invite into a muc.
|
||||
"""
|
||||
logging.debug("MUC invite to %s from %s: %s", inv['from'], inv["from"], inv)
|
||||
logging.debug("MUC invite to %s from %s: %s", inv['to'], inv["from"], inv)
|
||||
if inv['from'] not in self.rooms.keys():
|
||||
self.xmpp.event("groupchat_invite", inv)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user