Commit ec077496 authored by Luke Marlin's avatar Luke Marlin Committed by louiz’

fixes #3147 (/message auto-complete misses offline users) by adding every jids...

fixes #3147 (/message auto-complete misses offline users) by adding every jids to the completion list
parent d7ffaa44
......@@ -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)
......
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