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

This commit is contained in:
IAmTomahawkx committed 2024-12-27 16:29:56 -08:00
1 parent 8bbb579d23
commit 03f2e3b1bf
1 file changed
+1 -1
@@ -30,7 +30,7 @@ impl AbstractChannelUnreads for MongoDb {
doc! {
"$pull": {
"mentions": {
"$lt": message_id
"$lte": message_id
}
},
"$set": {