I need help with creating a messager

I would like to add “Today” or “Yesterday” or for example “22 february” labels to my chat rooms. Like in whats app or many other messagers, you can see the date when a current message was sent, but on the top of a message group, you can also see one date, which shows you when all the latest messages were sent.

Now, how should I do this with Adalo? I could create a collection called “Days” and then take reference of the messages collection. But I think there should be an easier way. Maybe a date field in the messages collection, and then a visibility rule in the current chat rooms?

Would appreciate your recommendations!

Best regards

Hi @King_junior

Have a property called last message date in conversation collection, and update this whenever record in message collection is created.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.