summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/completions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py
index 7ee4a8a6..7dd2c970 100644
--- a/poezio/core/completions.py
+++ b/poezio/core/completions.py
@@ -227,6 +227,9 @@ class CompletionCore:
l.append(jid)
for resource in roster[jid].resources:
l.append(resource.jid)
+ for jid in roster.jids():
+ if not len(roster[jid]):
+ l.append(jid)
return the_input.new_completion(l, 1, '', quotify=True)