Remove cruft
This commit is contained in:
parent
ad087f10c4
commit
bafcaace1e
|
@ -1503,17 +1503,10 @@ class GroupchatControl(ChatControlBase):
|
|||
def on_info(self, widget, ck):
|
||||
'''Call vcard_information_window class to display user's information'''
|
||||
c = gajim.contacts.get_gc_contact(self.account, self.room_jid, nick)
|
||||
# jid = c.get_full_jid()
|
||||
# if gajim.interface.instances[self.account]['infos'].has_key(jid):
|
||||
# gajim.interface.instances[self.account]['infos'][jid].window.present()
|
||||
# we create a Contact instance
|
||||
c2 = gajim.contacts.contact_from_gc_contact(c)
|
||||
if gajim.interface.instances[self.account]['infos'].has_key(c2.jid):
|
||||
gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
|
||||
else:
|
||||
# # we create a Contact instance
|
||||
# c2 = gajim.contacts.contact_from_gc_contact(c)
|
||||
# gajim.interface.instances[self.account]['infos'][jid] = \
|
||||
gajim.interface.instances[self.account]['infos'][c2.jid] = \
|
||||
vcard.VcardWindow(c2, self.account, False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue