diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 44b511f9e..d74a6e67c 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -373,7 +373,7 @@ class GroupchatWindow(chat.Chat): (gajim.interface.roster.jabber_state_images['16']['closed'], 'role', role, '%s' % role_name)) iter = model.append(role_iter, (None, 'contact', nick, name)) - if not nick in gajim.contacts.get_nick_list(self.account, room_jid, nick): + if not nick in gajim.contacts.get_nick_list(self.account, room_jid): gc_contact = gajim.contacts.create_gc_contact(room_jid = room_jid, nick = nick, show = show, status = status, role = role, affiliation = affiliation, jid = jid)