do not traceback when we receive a corboned message sent without a to attribute. Fixes #8194
This commit is contained in:
parent
77382c5c47
commit
11970eb705
|
@ -1147,6 +1147,8 @@ class MessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
|
|||
if not frm:
|
||||
frm = gajim.get_jid_from_account(account)
|
||||
self.stanza.setTo(frm)
|
||||
if not to:
|
||||
to = gajim.get_jid_from_account(account)
|
||||
self.stanza.setFrom(to)
|
||||
self.sent = True
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue