Disable replying to scam message on alert

This commit is contained in:
0xf8 2023-04-15 09:00:16 -04:00
parent 14246c7b60
commit 72432181db
Signed by: 0xf8
GPG Key ID: 446580D758689584

View File

@ -139,8 +139,10 @@ impl Judgement {
// Send message // Send message
let msg = RoomMessageEventContent::text_html(plain, html); let msg = RoomMessageEventContent::text_html(plain, html);
let reply = msg.make_reply_to(event); room.send(msg, None).await.expect("Couldn't send message");
room.send(reply, 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 // Send reaction
if !is_reply { if !is_reply {