Skip to content

Commit

Permalink
fix: last message in a channel could not be acked, resulting in ghost…
Browse files Browse the repository at this point in the history
… dms and channel messages
  • Loading branch information
IAmTomahawkx committed Dec 28, 2024
1 parent 8bbb579 commit 03f2e3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl AbstractChannelUnreads for MongoDb {
doc! {
"$pull": {
"mentions": {
"$lt": message_id
"$lte": message_id
}
},
"$set": {
Expand Down

0 comments on commit 03f2e3b

Please sign in to comment.