plugin XEP-0045: added a warning if a message is discarded because the room has not been found
This commit is contained in:
parent
57c621e534
commit
b8a858d639
1 changed files with 2 additions and 0 deletions
|
|
@ -1221,6 +1221,8 @@ class SatMUCClient(muc.MUCClient):
|
|||
room, user = self._getRoomUser(message)
|
||||
|
||||
if room is None:
|
||||
log.warning(u"No room found for message: {message}"
|
||||
.format(message=message.toElement().toXml()))
|
||||
return
|
||||
|
||||
if message.subject is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue