Skip to content

Commit 6e57343

Browse files
committed
Anti NFT Spam Bot - fix double negative in hide_deletes check lmao
1 parent 9e8367a commit 6e57343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anti_nft_spam_bot/src/actions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub async fn delete_message_as_spam_raw(
109109
// Now we shall notify. Should we show the reason?
110110
if let Some(reason) = reason.to_str() {
111111
// We should. Do we *need* to?
112-
let deletes_hidden = !database
112+
let deletes_hidden = database
113113
.get_hide_deletes(chat_id)
114114
.await
115115
.expect("Database died!");

0 commit comments

Comments
 (0)