Replies: 1 comment
-
|
You have to use conditions in the UI like if(chats.users.include(userId)){
setChat(chat)
}here, userId is the $id of the logged in user. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
simple. I have a
chatscollections with ausers(string array of user IDs) column. I want only users in the chat to be able to access the related document, how can I do it? Is usingfunctionsthe only way?Beta Was this translation helpful? Give feedback.
All reactions