Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 97e465b

Browse files
committed
Set creation_failed flag to True if there's no from in chat creation resposne
1 parent c3f00be commit 97e465b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/groupchats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ def onConfigSet(self, cl, stanza, user):
345345
frm = stanza.getFrom()
346346
if not frm:
347347
logger.critical("no from in stanza! %s", stanza)
348+
self.creation_failed = True
348349
return
349350
chat = frm.getStripped()
350351
if xmpp.isResultNode(stanza):

0 commit comments

Comments
 (0)