some cleanup
This commit is contained in:
parent
df3dacfac1
commit
65edabfb6c
2 changed files with 2 additions and 2 deletions
|
@ -348,7 +348,7 @@ class Contacts:
|
||||||
'''Create a Contact instance from a GC_Contact instance'''
|
'''Create a Contact instance from a GC_Contact instance'''
|
||||||
jid = gc_contact.get_full_jid()
|
jid = gc_contact.get_full_jid()
|
||||||
return Contact(jid = jid, resource = '', name = gc_contact.name,
|
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')
|
sub = 'none')
|
||||||
|
|
||||||
def create_gc_contact(self, room_jid='', name='', show='', status='',
|
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()
|
gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
|
||||||
else:
|
else:
|
||||||
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)
|
||||||
|
|
||||||
def on_history(self, widget, nick):
|
def on_history(self, widget, nick):
|
||||||
jid = gajim.construct_fjid(self.room_jid, nick)
|
jid = gajim.construct_fjid(self.room_jid, nick)
|
||||||
|
|
Loading…
Add table
Reference in a new issue