Changeset 9847 for trunk/src/roster_window.py
- Timestamp:
- 06/27/08 01:37:12 (5 months ago)
- Files:
-
- 1 modified
-
trunk/src/roster_window.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/roster_window.py
r9846 r9847 1813 1813 if contact.resource != '': 1814 1814 name += '/' + contact.resource 1815 1815 1816 1816 # Remove resource when going offline 1817 1817 if show in ('offline', 'error') and \ … … 1822 1822 win = gajim.interface.msg_win_mgr.get_window(jid_with_resource, 1823 1823 account) 1824 for ctrl in win.get_controls(jid_with_resource, account): 1824 ctrl = win.get_control(jid_with_resource, account) 1825 if ctrl: 1825 1826 ctrl.update_ui() 1826 1827 win.redraw_tab(ctrl) … … 1837 1838 uf_show = helpers.get_uf_show(show) 1838 1839 1839 for ctrl in win.get_controls(contact.jid, account): 1840 ctrl = win.get_control(contact.jid, account) 1841 if ctrl: 1840 1842 ctrl.contact = gajim.contacts.get_contact_with_highest_priority( 1841 1843 account, contact.jid)
