summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/windows/bookmark_forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py
index 4ec1259e..a0e57cc7 100644
--- a/poezio/windows/bookmark_forms.py
+++ b/poezio/windows/bookmark_forms.py
@@ -38,7 +38,7 @@ class BookmarkJIDInput(FieldInput, Input):
jid = JID(field.jid)
except InvalidJID:
jid = JID('')
- jid.resource = field.nick or ''
+ jid.resource = field.nick or None
self.text = jid.full
self.pos = 0
self.view_pos = 0