Disable replying to scam message on alert
This commit is contained in:
parent
14246c7b60
commit
72432181db
@ -139,8 +139,10 @@ impl Judgement {
|
||||
|
||||
// Send message
|
||||
let msg = RoomMessageEventContent::text_html(plain, html);
|
||||
let reply = msg.make_reply_to(event);
|
||||
room.send(reply, None).await.expect("Couldn't send message");
|
||||
room.send(msg, None).await.expect("Couldn't send message");
|
||||
// Todo: Add room config?
|
||||
// let reply = msg.make_reply_to(event);
|
||||
// room.send(reply, None).await.expect("Couldn't send message");
|
||||
|
||||
// Send reaction
|
||||
if !is_reply {
|
||||
|
Loading…
Reference in New Issue
Block a user