I’m working on a chat functionality based on this article Messaging App - Bubble Docs The problematic part is doing a search for chat messages, where the chat channel is the same as parent group’s chat channel.
When I launch it in preview, write some messages, go into another channel, write some more messages, and go back it all works fine.
When I close the preview and launch it again, the database query returns nothing. Then if i create some new messages only they are returned. Historical data never comes from the DB, I verified it in the debugger.
Is there some setting I’m unaware of or is this a bug?
And the debugger confirms that current user is a participant in that chat channel, while the returned message list is empty for old messages. Once i start adding messages they would appear here: