From d5636bd186cd872599a4c0fb175c0ec0725bf776 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 2 Jun 2020 09:42:28 +0200 Subject: [PATCH] Require text in reply-matrix --- matrix/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/commands.py b/matrix/commands.py index 3986c1e..17d9b25 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -1360,7 +1360,7 @@ def matrix_reply_command_cb(data, buffer, args): # necessary purpose event_id, reply = parse_redact_args(args) - if not event_id: + if not event_id or not reply: message = ( "{prefix}matrix: Invalid command " "arguments (see /help reply)"