Skip to content
Snippets Groups Projects
Commit 65edabfb authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

some cleanup

parent df3dacfa
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,7 @@ def contact_from_gc_contact(self, gc_contact):
'''Create a Contact instance from a GC_Contact instance'''
jid = gc_contact.get_full_jid()
return Contact(jid = jid, resource = '', name = gc_contact.name,
groups = ['none'], show = gc_contact.show, status = gc_contact.status,
groups = [], show = gc_contact.show, status = gc_contact.status,
sub = 'none')
def create_gc_contact(self, room_jid='', name='', show='', status='',
......
......@@ -1581,7 +1581,7 @@ def on_info(self, widget, nick):
gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
else:
gajim.interface.instances[self.account]['infos'][c2.jid] = \
vcard.VcardWindow(c2, self.account, False)
vcard.VcardWindow(c2, self.account)
def on_history(self, widget, nick):
jid = gajim.construct_fjid(self.room_jid, nick)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment