Filter empty conversations

Hi,

There is a way to filter out conversations without any messages?

Context: Lets say we have UserA and UserB, if userA open a conversation with userB and doesnt send anything, the channel is still created and will appear to userB. We dont want to show tons of empty channels to userB.

Hello @Referi , For your use case, we recommend that you filter on your frontend. You can check the messagesCount field and display chats where messagesCount is not equal to 0.

Hi @SocialPlus_Support If I understand well I’ll be still creating sockets per each empty channel, could that impact the performance if user has many empty chats?

Hello, as this involves a frontend customization tailored to your use case, we can’t be sure about its performance. It may or may not affect the UI. Please let us know if you need any assistance along the way.