[elghinn] codding standards

This commit is contained in:
Yann Leboulanger 2008-04-24 13:47:37 +00:00
parent 07a8d9d948
commit 613753f308
1 changed files with 1 additions and 2 deletions

View File

@ -2326,8 +2326,7 @@ class Interface:
if no_queue: # We didn't have a queue: we change icons if no_queue: # We didn't have a queue: we change icons
if not gajim.contacts.get_contact_with_highest_priority(account, jid): if not gajim.contacts.get_contact_with_highest_priority(account, jid):
if type_ == 'gc-invitation': if type_ == 'gc-invitation':
self.roster.add_groupchat(jid, account, self.roster.add_groupchat(jid, account, status='offline')
status = 'offline')
else: else:
# add contact to roster ("Not In The Roster") if he is not # add contact to roster ("Not In The Roster") if he is not
self.roster.add_to_not_in_the_roster(account, jid) self.roster.add_to_not_in_the_roster(account, jid)