changeset 835e31812849 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=835e31812849 description: prevent traceback. Fixes #7978
diffstat:
src/common/connection.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4c8fcf026ff1 -r 835e31812849 src/common/connection.py --- a/src/common/connection.py Sun Apr 03 16:42:21 2016 +0200 +++ b/src/common/connection.py Sun Apr 03 21:32:53 2016 +0200 @@ -2755,7 +2755,7 @@ 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,