You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this logic in my app, and noticed Firestore is littered with empty rooms as the user just looks at the chat page and then leaves.
Would it be easy to move this logic on chat send call? Eg user sends chat and check is made if room exists already, and add the message there, otherwise create room?
The text was updated successfully, but these errors were encountered:
Hey,
In the example, I noticed createRoom is called when the user taps on another one at https://github.com/flyerhq/flutter_firebase_chat_core/blob/main/example/lib/users.dart
I use this logic in my app, and noticed Firestore is littered with empty rooms as the user just looks at the chat page and then leaves.
Would it be easy to move this logic on chat send call? Eg user sends chat and check is made if room exists already, and add the message there, otherwise create room?
The text was updated successfully, but these errors were encountered: