TypeError when trying to add a group chat with bookmark option enabled
Versions
- OS: Linux
- GTK+ Version: 3.22.25
- PyGObject Version: 3.24.1
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.1
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/dialogs.py", line 2568, in _on_join_clicked
self._add_bookmark(account, nickname, password)
File "/usr/lib/python3/dist-packages/gajim/dialogs.py", line 2596, in _add_bookmark
account, name, self.room_jid, autojoin, 1, password, nickname)
File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2566, in add_gc_bookmark
if bookmark['name'] > bm['name']:
TypeError: '>' not supported between instances of 'NoneType' and 'str'
Steps to reproduce the problem
Join a Groupchat with the bookmark option enabled Expected result: Groupchat is joined Actual result: Error shown above is thrown.
Additional info:
- Also occurs in 2018-04-08 nightly
- Do NOT occur if bookmark option isn't on.
- Platform is kubuntu 17.10