Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@helldev.net>2020-10-14 13:55:03 +0300
committerJohn Smith <mrdoctorwho@helldev.net>2020-10-14 13:55:03 +0300
commit97e465b4df12a40fe9735cd54d20aa69def7b886 (patch)
tree2b450edd9525ac7fceb86091061a18ca781a28a4
parentc3f00be3142d8d485b9e5ec033718e66cdecf591 (diff)
Set creation_failed flag to True if there's no from in chat creation resposne
-rw-r--r--extensions/groupchats.py1
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):