some cleanup

This commit is contained in:
Yann Leboulanger 2006-03-28 14:50:19 +00:00
parent df3dacfac1
commit 65edabfb6c
2 changed files with 2 additions and 2 deletions

View File

@ -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='',

View File

@ -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)