nk: call fire_up_unread_messages_events where it is really needed, fix coding standards
This commit is contained in:
parent
924528aadb
commit
b383a17cfd
|
@ -885,7 +885,6 @@ class RosterWindow:
|
|||
for acct in gajim.connections:
|
||||
self.add_account_to_roster(acct)
|
||||
self.add_account_contacts(acct)
|
||||
self.fire_up_unread_messages_events(acct)
|
||||
|
||||
def add_account_contacts(self, account):
|
||||
'''adds contacts of group to roster treeview'''
|
||||
|
@ -898,8 +897,8 @@ class RosterWindow:
|
|||
results = gajim.logger.get_unread_msgs_for_jid(jid)
|
||||
for result in results:
|
||||
tim = time.localtime(float(result[2]))
|
||||
self.on_message(jid, result[1], tim, account, msg_type= 'chat',
|
||||
msg_id=result[0])
|
||||
self.on_message(jid, result[1], tim, account, msg_type = 'chat',
|
||||
msg_id = result[0])
|
||||
|
||||
def fill_contacts_and_groups_dicts(self, array, account):
|
||||
'''fill gajim.contacts and gajim.groups'''
|
||||
|
|
Loading…
Reference in New Issue