Fix logic error in judge::send_debug

This commit is contained in:
0xf8 2023-04-15 19:09:17 -04:00
parent 72432181db
commit 62473dea60
Signed by: 0xf8
GPG Key ID: 446580D758689584

View File

@ -96,12 +96,12 @@ impl Judgement {
}
let mut result = JudgementResult::LikelyScam;
if count_all == 0 {
result = JudgementResult::Ok
}
if count_all < total {
result = JudgementResult::MaybeScam
}
if count_all == 0 {
result = JudgementResult::Ok
}
// Send message
let msg = RoomMessageEventContent::text_html(