Allow synchronization of user block lists from your main website #23
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: apps/BareRTC#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you have a website with a preexisting userbase, it would be nice if it could pre-sync who a user has blocked before they enter the chat (so that the blocked profiles might automatically mute one another).
It would be too much data to stuff into the JWT token so this would have to be sent over out-of-band (e.g. by an HTTP API endpoint).
The workflow might be: as your site is signing a JWT token to redirect the user to the chat room, it could also make a post to the chat server to sync your block list over. The chat would hold onto these lists (temporarily, in memory) so when it sees you log on it could automatically apply mutes to the affected usernames.
Some other notes/ideas: