Author: asterix Date: 2007-04-24 20:43:13 +0200 (Tue, 24 Apr 2007) New Revision: 8099
Modified: trunk/src/roster_window.py Log: [roidelapluie] don't disconnect from rooms when we send an offline presence to a specific contact
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2007-04-24 08:54:26 UTC (rev 8098) +++ trunk/src/roster_window.py 2007-04-24 18:43:13 UTC (rev 8099) @@ -2853,17 +2853,17 @@ else: gajim.connections[account].change_status(status, txt, auto)
- for gc_control in gajim.interface.msg_win_mgr.get_controls( - message_control.TYPE_GC): - if gc_control.account == account: - if gajim.gc_connected[account][gc_control.room_jid]: - gajim.connections[account].send_gc_status(gc_control.nick, - gc_control.room_jid, status, txt) - else: - # for some reason, we are not connected to the room even if - # tab is opened, send initial join_gc() - gajim.connections[account].join_gc(gc_control.nick, - gc_control.room_jid, None) + for gc_control in gajim.interface.msg_win_mgr.get_controls( + message_control.TYPE_GC): + if gc_control.account == account: + if gajim.gc_connected[account][gc_control.room_jid]: + gajim.connections[account].send_gc_status(gc_control.nick, + gc_control.room_jid, status, txt) + else: + # for some reason, we are not connected to the room even if + # tab is opened, send initial join_gc() + gajim.connections[account].join_gc(gc_control.nick, + gc_control.room_jid, None)
def get_status_message(self, show): if show in gajim.config.get_per('defaultstatusmsg'):