i want a messaging function so like in a phone’s sms app, there is a messaging convo between two users, but an overall repeating group that can display all the convos with only the most recent message visible, so that a user can click on the text and open up the convo between him/herself and the other user. i have only managed to set up a repeating group that shows every message the user has received from all users and from a certain user, but i want a repeating group in which a cell only shows the latest message from a certain user, to signify a message convo/thread.
so i have the message convo part, now i just need to figure out how to represent all the convo/threads into a repeating group that displays all of the convos thread.
i have a thing called messages which is simply created once a user sends another user a text from an input. should i have a thing called message thread? so when a message is sent, a new message thread is created? but wouldnt that mean multiple message threads/convos would be created between two users, when there should only be one(like in sms)?