fix groupchat addition to roster

This commit is contained in:
Yann Leboulanger 2008-04-24 07:52:11 +00:00
parent 75e44510a1
commit 6990b23bcc
1 changed files with 1 additions and 2 deletions

View File

@ -645,8 +645,7 @@ class RosterWindow:
if contact is None:
contact = gajim.contacts.create_contact(jid = jid, name = jid,
groups = [_('Groupchats')], show = 'online',
status = status, sub = 'none',
resource = resource)
status = status, sub = 'none')
gajim.contacts.add_contact(account, contact)
self.add_contact(jid, account)
else: