summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-04-07 22:20:52 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-04-07 22:20:52 +0100
commit2d0cc092fcd154b2d14be0c5ac0ff338607824a0 (patch)
tree15f11da84b03de07f84fb424f0384c55a28e8d2f
parentd693479d05f1ada999c0e29a9d9e2f021dd59e50 (diff)
downloadpoezio-2d0cc092fcd154b2d14be0c5ac0ff338607824a0.tar.gz
poezio-2d0cc092fcd154b2d14be0c5ac0ff338607824a0.tar.bz2
poezio-2d0cc092fcd154b2d14be0c5ac0ff338607824a0.tar.xz
poezio-2d0cc092fcd154b2d14be0c5ac0ff338607824a0.zip
poezio/bookmarks: Fix type for tab name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/bookmarks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/bookmarks.py b/poezio/bookmarks.py
index 0406de94..61957b8c 100644
--- a/poezio/bookmarks.py
+++ b/poezio/bookmarks.py
@@ -49,7 +49,7 @@ class Bookmark:
password: Optional[str] = None,
method='local') -> None:
self.jid = jid
- self.name = name or jid
+ self.name = name or str(jid)
self.autojoin = autojoin
self.nick = nick
self.password = password