diff options
-rw-r--r-- | poezio/plugin_e2ee.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index c35e9935..3ac88eb9 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -291,6 +291,12 @@ class E2EEPlugin(BasePlugin): @command_args_parser.quoted(2) def __command_set_state_global(self, args, state='') -> None: + if not args: + self.api.information( + 'No fingerprint provided to the command..', + 'Error', + ) + return jid, fpr = args if state not in self._all_trust_states: self.api.information( |