summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/completions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py
index 54607951..a6007152 100644
--- a/poezio/core/completions.py
+++ b/poezio/core/completions.py
@@ -97,7 +97,7 @@ class CompletionCore:
relevant_rooms = []
relevant_rooms.extend(sorted(self.core.pending_invites.keys()))
- bookmarks = [str(elem.jid) for elem in self.core.bookmarks]
+ bookmarks = [(str(elem.jid) if not elem.nick else '%s/%s' % (elem.jid, elem.nick)) for elem in self.core.bookmarks]
to_suggest = []
for bookmark in bookmarks:
tab = self.core.get_tab_by_name(bookmark, tabs.MucTab)