some cleanup
This commit is contained in:
parent
df3dacfac1
commit
65edabfb6c
|
@ -348,7 +348,7 @@ class Contacts:
|
|||
'''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 @@ class GroupchatControl(ChatControlBase):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue