From a1c8efdfb2f28976aaa653e5fc1e695b943bb739 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 10 May 2020 00:10:46 +0200 Subject: Move /deny and /remove to global scope as well --- poezio/core/completions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'poezio/core/completions.py') diff --git a/poezio/core/completions.py b/poezio/core/completions.py index 544a7889..ada8d2b9 100644 --- a/poezio/core/completions.py +++ b/poezio/core/completions.py @@ -52,6 +52,11 @@ class CompletionCore: ) return Completion(the_input.new_completion, jids, 1, '', quotify=False) + def remove(self, the_input): + """Completion for /remove""" + jids = [jid for jid in roster.jids()] + return Completion(the_input.auto_completion, jids, '', quotify=False) + def presence(self, the_input): """ Completion of /presence -- cgit v1.2.3