Error when clicking refresh button in OMEMO Configuration window
Versions
- OS: Windows 7
- GTK+ Version: 3.24.1
- PyGObject Version: 3.30.4
- GLib Version : 2.58.3
- python-nbxmpp Version: 0.9.91
- Gajim Version: 1.1.92
- OMEMO plugin: 2.6.50
Traceback
Traceback (most recent call last):
File "C:\Programme (standalone)\Gajim\UserData\Plugins\omemo\gtk\config.py", line 86, in account_combobox_changed_cb
self.update_context_list()
File "C:\Programme (standalone)\Gajim\UserData\Plugins\omemo\gtk\config.py", line 154, in update_context_list
fpr = get_fingerprint(identity_key, formatted=True)
File "C:\Programme (standalone)\Gajim\UserData\Plugins\omemo\backend\util.py", line 38, in get_fingerprint
fingerprint = binascii.hexlify(public_key).decode()[2:]
TypeError: a bytes-like object is required, not 'MagicMock'
Steps to reproduce the problem
- I added an account to Gajim
- OMEMO didn't work (nothing happening when clicking on shield icon, no own fingerprint shown)
- I then went into the OMEMO plugin's configuration and clicked on "Aktualisieren" (I guess it's "Refresh" in English)
Expected behavior
no error window popping up :-)