Skip to content

Commit

Permalink
adds filtering by blocked messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mflilian committed Apr 7, 2022
1 parent ab22f82 commit 8b38e56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mongoclient/get_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func GetMessagesV2(ctx context.Context, topic string, from int64, limit int64, c
"timestamp": bson.M{
"$lte": from, // less than or equal
},
"blocked": false,
}

sort := bson.D{
Expand Down

0 comments on commit 8b38e56

Please sign in to comment.