Remove cruft
This commit is contained in:
parent
ad087f10c4
commit
bafcaace1e
1 changed files with 0 additions and 7 deletions
|
@ -1503,17 +1503,10 @@ class GroupchatControl(ChatControlBase):
|
||||||
def on_info(self, widget, ck):
|
def on_info(self, widget, ck):
|
||||||
'''Call vcard_information_window class to display user's information'''
|
'''Call vcard_information_window class to display user's information'''
|
||||||
c = gajim.contacts.get_gc_contact(self.account, self.room_jid, nick)
|
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)
|
c2 = gajim.contacts.contact_from_gc_contact(c)
|
||||||
if gajim.interface.instances[self.account]['infos'].has_key(c2.jid):
|
if gajim.interface.instances[self.account]['infos'].has_key(c2.jid):
|
||||||
gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
|
gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
|
||||||
else:
|
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] = \
|
gajim.interface.instances[self.account]['infos'][c2.jid] = \
|
||||||
vcard.VcardWindow(c2, self.account, False)
|
vcard.VcardWindow(c2, self.account, False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue