Philipp Hörist pushed to branch mainwindow at gajim / gajim
Commits: 7151f8f5 by lovetox at 2021-03-10T20:38:06+01:00 Fix add to contact list
- - - - -
1 changed file:
- gajim/gui_menu_builder.py
Changes:
===================================== gajim/gui_menu_builder.py ===================================== @@ -821,7 +821,7 @@ def get_roster_menu(account, jid):
def get_chat_list_row_menu(workspace_id, account, jid, pinned): client = app.get_client(account) - contact = client.get_module('Contact').get_contact(jid) + contact = client.get_module('Contacts').get_contact(jid)
toggle_label = _('Unpin Chat') if pinned else _('Pin Chat')
@@ -830,7 +830,8 @@ def get_chat_list_row_menu(workspace_id, account, jid, pinned): (_('Move Chat'), []), ]
- if not contact.is_in_roster(): + + if not contact.is_in_roster: menu_items.append(('add-to-roster', _('Add to contact list')))
menu = Gio.Menu()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7151f8f58745cf3bb4102fc2af1ad5605...