Closed tiger5226 closed 2 years ago
Consider how to handle spam / notifications for bigger channels
Spoke to mark about this previously and we can pass a new param with claim ids as mentions, that way the UI doesn't have to store the full id in the message, and we don't have to parse it.
So when mentioned channels are passed with the create request, commentron will pipe that to sockety. This message type is called mention
and you will get a sockety message if you are subscribed to the channel claim id, or if you are subscribed to the mentions
sockety comment service. The latter is what internal-apis will use to create event notifications for users.
This is to support notifying users when they are mentioned in a comment.