Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat.
This commit is contained in:
parent
a62328ecd3
commit
2cd24aa8ae
|
@ -393,9 +393,9 @@ class Contacts:
|
|||
break
|
||||
if found:
|
||||
self._metacontacts_tags[account][tag].remove(found)
|
||||
common.gajim.connections[account].store_metacontacts(
|
||||
self._metacontacts_tags[account])
|
||||
break
|
||||
common.gajim.connections[account].store_metacontacts(
|
||||
self._metacontacts_tags[account])
|
||||
|
||||
def has_brother(self, account, jid):
|
||||
for account in self._metacontacts_tags:
|
||||
|
|
|
@ -5404,7 +5404,7 @@ class RosterWindow:
|
|||
disconnect_icon = gtk.image_new_from_stock(gtk.STOCK_DISCONNECT, \
|
||||
gtk.ICON_SIZE_MENU)
|
||||
disconnect_menuitem.set_image(disconnect_icon)
|
||||
disconnect_menuitem .connect('activate', self.on_disconnect, jid, account)
|
||||
disconnect_menuitem.connect('activate', self.on_disconnect, jid, account)
|
||||
menu.append(disconnect_menuitem)
|
||||
|
||||
item = gtk.SeparatorMenuItem() # separator
|
||||
|
|
Loading…
Reference in New Issue