From 95875d63c6023850c0c43df7e474bfbb16d6facf Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Fri, 24 Aug 2012 09:50:50 +0200 Subject: [PATCH] fix var name --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index c761e37cc5..6dec2e573b 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4482,7 +4482,7 @@ class InvitationReceivedDialog: sectext = _('$Contact has invited you to group chat %(room_jid)s')\ % {'room_jid': room_jid} contact = gajim.contacts.get_first_contact_from_jid(account, jid) - contact_text = contact and contact.name or contact_jid + contact_text = contact and contact.name or jid sectext = sectext.replace('$Contact', contact_text) if comment: # only if not None and not '' -- GitLab