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
The right way is to create a "blocked users database" (out of chat21, using for example mongodb or some other RDMS) of users blocked by users (User A blocked: B, C, D).
In the function, on the very first line check your "blocked users database" to see if sender_id can write to recipient_id. If yes just execute the normal function's instructions flow, otherwise simply "return", without executing any code.
How can we implement block feature in iOS app?
Please assist.
The text was updated successfully, but these errors were encountered: