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?

Thanks!!!

screenshot-bubble.io-2022.09.16-11_59_23

screenshot-euquero-imovel.bubbleapps.io-2022.09.16-12_00_25

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