Move log message

This commit is contained in:
Philipp Hörist 2019-04-27 12:39:34 +02:00
parent 2eb2039a3f
commit a50cedaa6b
2 changed files with 1 additions and 1 deletions

View File

@ -882,6 +882,7 @@ class HtmlTextView(Gtk.TextView):
def show_context_menu(self, uri):
menu = get_conv_context_menu(self.account, uri)
if menu is None:
log.warning('No handler for URI type: %s', uri)
return
def destroy(menu, _pspec):

View File

@ -961,7 +961,6 @@ def get_conv_context_menu(account, uri):
('-add-contact', _('Add to Roster…')),
]
else:
log.warning('No handler for URI type: %s', uri)
return
menu = Gtk.Menu()