Skip to content

[OMEMO] Fix uri NameError in debug log

I noticed this traceback in the console. There were two occasions where url was used. I changed them to uri.data.

Traceback (most recent call last):
  File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/plugins/pluginmanager.py", line 365, in _execute_all_handlers_of_gui_extension_point
    handlers[0](*args)
  File "/home/x/.local/share/gajim/plugins/omemo/plugin.py", line 216, in _file_decryption
    uri, instance, window)
  File "/home/x/.local/share/gajim/plugins/omemo/file_crypto.py", line 90, in hyperlink_handler
    log.info('Url not encrypted: %s', url)
NameError: name 'url' is not defined

Merge request reports