bookmarks: Bookmark.name should be an str

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-10-26 00:40:50 +02:00
parent 4820062b40
commit 86621d59fc
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -55,7 +55,7 @@ class Bookmark:
except InvalidJID: except InvalidJID:
log.debug('Invalid JID %r provided for bookmark %r', jid, name) log.debug('Invalid JID %r provided for bookmark %r', jid, name)
raise raise
self.name = name or jid self.name = name or str(jid)
self.autojoin = autojoin self.autojoin = autojoin
self.nick = nick self.nick = nick
self.password = password self.password = password