plugin_e2ee: handle empty args in /foo_state commands

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 00a91774
Pipeline #4073 failed with stages
in 10 minutes and 34 seconds
......@@ -291,6 +291,12 @@ class E2EEPlugin(BasePlugin):
def __command_set_state_global(self, args, state='') -> None:
if not args:
'No fingerprint provided to the command..',
jid, fpr = args
if state not in self._all_trust_states:
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