| | 834 | |
| | 835 | # Get the window and control for the updated status, this may be a PrivateChatControl |
| | 836 | control = self.msg_win_mgr.get_control(room_jid, account) |
| | 837 | if control: |
| | 838 | control.chg_contact_status(nick, show, status, array[4], array[5], array[6], |
| | 839 | array[7], array[8], array[9], array[10]) |
| | 840 | # Find any PM chat through this room, and tell it to update. |
| | 841 | pm_control = self.msg_win_mgr.get_control(fjid, account) |
| | 842 | if pm_control: |
| | 843 | pm_control.parent_win.redraw_tab(pm_control) |
| | 844 | if self.remote_ctrl: |
| | 845 | self.remote_ctrl.raise_signal('GCPresence', (account, array)) |
| | 846 | |
| 846 | | # Get the window and control for the updated status, this may be a PrivateChatControl |
| 847 | | control = self.msg_win_mgr.get_control(room_jid, account) |
| 848 | | if control: |
| 849 | | control.chg_contact_status(nick, show, status, array[4], array[5], array[6], |
| 850 | | array[7], array[8], array[9], array[10]) |
| 851 | | # Find any PM chat through this room, and tell it to update. |
| 852 | | pm_control = self.msg_win_mgr.get_control(fjid, account) |
| 853 | | if pm_control: |
| 854 | | pm_control.parent_win.redraw_tab(pm_control) |
| 855 | | if self.remote_ctrl: |
| 856 | | self.remote_ctrl.raise_signal('GCPresence', (account, array)) |