OdyseeTeam / commentron

MIT License
11 stars 12 forks source link

Add`mentions` to comment item, to also be sent with comment notifications #73

Closed tiger5226 closed 2 years ago

tiger5226 commented 3 years ago

This is to support notifying users when they are mentioned in a comment.

tzarebczan commented 3 years ago

Consider how to handle spam / notifications for bigger channels

kauffj commented 3 years ago

notif

tzarebczan commented 3 years ago

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.

tiger5226 commented 2 years ago

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.