Commit a50cedaa authored by Philipp Hörist's avatar Philipp Hörist

Move log message

parent 2eb2039a
......@@ -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):
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment