Commit c62c5b2d authored by Eijebong's avatar Eijebong
Browse files

Fix a traceback in the bookmarks tab when we do not set a nickname

parent be9f4470
......@@ -14,7 +14,7 @@ class BookmarkJIDInput(FieldInput, Input):
FieldInput.__init__(self, field)
jid = safeJID(field.jid)
jid.resource = field.nick
jid.resource = field.nick or None
self.text = jid.full
self.pos = len(self.text)
self.color = get_theme().COLOR_NORMAL_TEXT
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment