diff --git a/src/windows/bookmark_forms.py b/src/windows/bookmark_forms.py index 7cbd30cc..de1043c9 100644 --- a/src/windows/bookmark_forms.py +++ b/src/windows/bookmark_forms.py @@ -14,7 +14,7 @@ class BookmarkJIDInput(FieldInput, Input): FieldInput.__init__(self, field) Input.__init__(self) 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