From a7cc9872acac0d7f568c2aa324e68c4245a85a4f Mon Sep 17 00:00:00 2001
From: Denis Fomin <fominde@gmail.com>
Date: Tue, 27 Sep 2011 17:23:10 +0300
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 2fc321fcc2..68f953a0a0 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -2482,7 +2482,7 @@ class JoinGroupchatWindow:
             return
 
         if gajim.contacts.get_contact(self.account, room_jid) and \
-        not gajim.contacts.get_contact(account, room_jid).is_groupchat():
+        not gajim.contacts.get_contact(self.account, room_jid).is_groupchat():
             ErrorDialog(_('This is not a group chat'),
                 _('%s is not the name of a group chat.') % room_jid)
             return
-- 
GitLab