diff options
author | John Smith <mrdoctorwho@helldev.net> | 2020-10-14 13:55:03 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@helldev.net> | 2020-10-14 13:55:03 +0300 |
commit | 97e465b4df12a40fe9735cd54d20aa69def7b886 (patch) | |
tree | 2b450edd9525ac7fceb86091061a18ca781a28a4 | |
parent | c3f00be3142d8d485b9e5ec033718e66cdecf591 (diff) |
Set creation_failed flag to True if there's no from in chat creation resposne
-rw-r--r-- | extensions/groupchats.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/groupchats.py b/extensions/groupchats.py index 16bf299..86611ed 100644 --- a/extensions/groupchats.py +++ b/extensions/groupchats.py @@ -345,6 +345,7 @@ class Chat(object): frm = stanza.getFrom() if not frm: logger.critical("no from in stanza! %s", stanza) + self.creation_failed = True return chat = frm.getStripped() if xmpp.isResultNode(stanza): |