send status syncronously when we quit GUI

This commit is contained in:
Yann Leboulanger 2005-08-07 11:41:20 +00:00
parent 2d1f629527
commit 903a3cc6c7
1 changed files with 1 additions and 1 deletions

View File

@ -1535,7 +1535,7 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
message = '' message = ''
for acct in accounts: for acct in accounts:
if gajim.connections[acct].connected: if gajim.connections[acct].connected:
self.send_status(acct, 'offline', message) self.send_status(acct, 'offline', message, True)
self.quit_gtkgui_plugin() self.quit_gtkgui_plugin()
return True # do NOT destory the window return True # do NOT destory the window