delay popup notif back to 30 seconds

with high net load 15 secs is not enough. it is important not to give the idea to the user that those contacts that popup in 17 second just signed in cause that is simply not true. So it is better to lose one possible contact logging in the first 30 seconds after we logged in, that to show 3 or 4 contacts just logged in at once
This commit is contained in:
Nikos Kouremenos 2005-05-15 15:42:57 +00:00
parent 4ef68bb7e5
commit c9b791e5a2
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class Interface:
def handle_event_status(self, account, status): # OUR status def handle_event_status(self, account, status): # OUR status
#('STATUS', account, status) #('STATUS', account, status)
if status != 'offline': if status != 'offline':
gobject.timeout_add(15000, self.allow_notif, account) gobject.timeout_add(30000, self.allow_notif, account)
self.roster.on_status_changed(account, status) self.roster.on_status_changed(account, status)
def handle_event_notify(self, account, array): def handle_event_notify(self, account, array):