diff options
-rw-r--r-- | poezio/bookmarks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/bookmarks.py b/poezio/bookmarks.py index d9c45be2..074566cd 100644 --- a/poezio/bookmarks.py +++ b/poezio/bookmarks.py @@ -55,7 +55,7 @@ class Bookmark: except InvalidJID: log.debug('Invalid JID %r provided for bookmark %r', jid, name) raise - self.name = name or jid + self.name = name or str(jid) self.autojoin = autojoin self.nick = nick self.password = password |