prevent traceback. Fixes #7978
This commit is contained in:
parent
f2dd9a9773
commit
7c2c4cd0ac
1 changed files with 1 additions and 1 deletions
|
@ -2755,7 +2755,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
msg_iq = nbxmpp.Message(obj.jid, obj.message, typ='groupchat',
|
||||
xhtml=obj.xhtml)
|
||||
if obj.label is not None:
|
||||
msg_iq.addChild(node=label)
|
||||
msg_iq.addChild(node=obj.label)
|
||||
obj.msg_id = self.connection.send(msg_iq)
|
||||
gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self,
|
||||
jid=obj.jid, message=obj.message, keyID=None, chatstate=None,
|
||||
|
|
Loading…
Add table
Reference in a new issue