How to hide messages from blocked users - CometChat.ConversationsRequestBuilder()

We have a recent conversations feature in our app but would like to hide messages from blocked users.

Currently, whenever we use the below method it shows messages from blocked users.

this.conversationsRequest = new CometChat.ConversationsRequestBuilder()

How can we hide messages from blocked users?