Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store message count in room data for easy filtering in Firestore #105

Open
giorgio79 opened this issue Feb 12, 2023 · 1 comment
Open

Store message count in room data for easy filtering in Firestore #105

giorgio79 opened this issue Feb 12, 2023 · 1 comment
Labels
feature New feature or request

Comments

@giorgio79
Copy link
Contributor

Would be nice to store message count in room data for easy Firestore filtering via the Firestore UI. It cannot filter for if exists or not.

@giorgio79 giorgio79 added the feature New feature or request label Feb 12, 2023
@kopianan
Copy link

kopianan commented Mar 22, 2024

I think you can do it by adding your own counter on metada inside room class model.

just add logic on dispose chat page to update room data when user close chat page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants