fix: last message in a channel could not be acked, resulting in ghost dms and channel messages

This commit is contained in:
IAmTomahawkx
2024-12-27 16:29:56 -08:00
parent 8bbb579d23
commit 03f2e3b1bf

View File

@@ -30,7 +30,7 @@ impl AbstractChannelUnreads for MongoDb {
doc! {
"$pull": {
"mentions": {
"$lt": message_id
"$lte": message_id
}
},
"$set": {