Fix logging statement for MUC invitations.
This commit is contained in:
parent
5a878f829b
commit
3bff743d9f
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class XEP_0045(BasePlugin):
|
||||||
def handle_groupchat_invite(self, inv):
|
def handle_groupchat_invite(self, inv):
|
||||||
""" Handle an invite into a muc.
|
""" 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():
|
if inv['from'] not in self.rooms.keys():
|
||||||
self.xmpp.event("groupchat_invite", inv)
|
self.xmpp.event("groupchat_invite", inv)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue