I"m running into a weird issue, and I think its due to the fact that I’m trying to search for a thing’s thing.
Instead of two types of users I created users (users) and businesses (things).
In an attempt to enable conversations between users and businesses I created another thing called a “participant”, which allows me to create conversations between participants regardless of whether the participant is assigned to a user or business.
When creating a new conversation, the following workflow works the first time a participant is clicked. However, it displays the wrong user in the chat when the conversation already exists. This leads me to believe this search is too complex.
Do I need to go back to my db and just create a user_type field on the user?
I was trying to avoid multiple sign-ins for a user who also has a business.
Edit: It seems this issue only occurs in the Native app previewer. Its fine in my browser.