Philipp Hörist pushed to branch master at gajim / gajim
Commits: 5843827a by Philipp Hörist at 2018-12-12T22:35:36Z Fix start chat menu action
Fixes #8275
- - - - -
1 changed file:
- gajim/gui_menu_builder.py
Changes:
===================================== gajim/gui_menu_builder.py ===================================== @@ -933,19 +933,13 @@ def get_conv_context_menu(account, kind, text): menuitem.set_label(label)
if action.startswith('-'): + text = text.replace('xmpp:', '') + text = text.split('?')[0] action = 'app.%s%s' % (account, action) else: action = 'app.%s' % action menuitem.set_action_name(action)
- if 'join-groupchat' in action: - text = text.replace('xmpp:', '') - text = text.split('?')[0] - - if 'add-contact' in action: - text = text.replace('xmpp:', '') - text = text.split('?')[0] - if action == 'app.open-link': value = GLib.Variant.new_strv([kind, text]) elif action == 'app.copy-link':
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5843827abc94818e867dab1b82cdb1d18b7...