Require text in reply-matrix
This commit is contained in:
parent
6aff7ddcbb
commit
d5636bd186
1 changed files with 1 additions and 1 deletions
|
@ -1360,7 +1360,7 @@ def matrix_reply_command_cb(data, buffer, args):
|
||||||
# necessary purpose
|
# necessary purpose
|
||||||
event_id, reply = parse_redact_args(args)
|
event_id, reply = parse_redact_args(args)
|
||||||
|
|
||||||
if not event_id:
|
if not event_id or not reply:
|
||||||
message = (
|
message = (
|
||||||
"{prefix}matrix: Invalid command "
|
"{prefix}matrix: Invalid command "
|
||||||
"arguments (see /help reply)"
|
"arguments (see /help reply)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue