Changeset 9843

Show
Ignore:
Timestamp:
06/26/08 16:09:27 (2 months ago)
Author:
steve-e
Message:

Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat.

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/contacts.py

    r9825 r9843  
    394394                        if found: 
    395395                                self._metacontacts_tags[account][tag].remove(found) 
     396                                common.gajim.connections[account].store_metacontacts( 
     397                                        self._metacontacts_tags[account]) 
    396398                                break 
    397                 common.gajim.connections[account].store_metacontacts( 
    398                         self._metacontacts_tags[account]) 
    399399 
    400400        def has_brother(self, account, jid): 
  • trunk/src/roster_window.py

    r9840 r9843  
    54055405                        gtk.ICON_SIZE_MENU) 
    54065406                disconnect_menuitem.set_image(disconnect_icon) 
    5407                 disconnect_menuitem .connect('activate', self.on_disconnect, jid, account) 
     5407                disconnect_menuitem.connect('activate', self.on_disconnect, jid, account) 
    54085408                menu.append(disconnect_menuitem) 
    54095409