diff options
Diffstat (limited to 'plugins/tell.py')
-rw-r--r-- | plugins/tell.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/tell.py b/plugins/tell.py index 2b3eb0ce..ba638e82 100644 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -20,6 +20,7 @@ This plugin defines two new commands for MUC tabs: :term:`/tell` and :term:`/unt """ from poezio.plugin import BasePlugin +from poezio.core.structs import Completion from poezio.decorators import command_args_parser from poezio import tabs @@ -77,6 +78,6 @@ class Plugin(BasePlugin): def completion_untell(self, the_input): tab = self.api.current_tab() if not tab in self.tabs: - return the_input.auto_completion([], '') - return the_input.auto_completion(list(self.tabs[tab]), '', quotify=False) + return Completion(the_input.auto_completion, [], '') + return Completion(the_input.auto_completion, list(self.tabs[tab]), '', quotify=False) |