Unread messages on Widget Messages

Hi there.

I confusing about show the correct number of unread messages on Widget at the top. By default it show a fixed number “4”. Could someone explain how to show de number of unread messages?




Hello @guilherme welcome to the forum!

I am not sure how you have your messages structured in the dB of your application.

One straightforward way would to do a search for messages belonging to the current user and ending that expression with “:count”

Thanks @cmarchan, thats solved my problem!

1 Like