Missed some spots while refactoring

This commit is contained in:
Alexander Cherniuk 2009-11-27 10:24:31 +02:00
parent a7ba440cab
commit 24cea09fbd
1 changed files with 5 additions and 3 deletions

View File

@ -2333,7 +2333,9 @@ class GroupchatControl(ChatControlBase):
'admin')
def on_info(self, widget, nick):
'''Call vcard_information_window class to display user's information'''
"""
Call vcard_information_window class to display user's information
"""
gc_contact = gajim.contacts.get_gc_contact(self.account, self.room_jid, nick)
contact = gc_contact.as_contact()
if contact.jid in gajim.interface.instances[self.account]['infos']: