[elghinn] codding standards
This commit is contained in:
parent
07a8d9d948
commit
613753f308
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue