damus icon indicating copy to clipboard operation
damus copied to clipboard

Implement server-side public mute-list filtering for push notifications

Open danieldaquino opened this issue 1 year ago • 2 comments

There are two kinds of mutes on Nostr: Public mutes and private (encrypted) mutes.

Although push notifications from users in encrypted mute lists needs be done on the device itself, filtering of users on public mute lists can be done on the server side.

Acceptance criteria:

  • Push notification server reads public mute lists and does not send push notifications from any publicly muted users

danieldaquino avatar May 03 '24 17:05 danieldaquino

Working on this one first (out of the ones listed in https://github.com/damus-io/damus/issues/2225) since it is the highest risk item for our new push notifications rollout plan.

danieldaquino avatar May 13 '24 23:05 danieldaquino

@alltheseas @jb55, I was able to get this working!

Sent a patch: https://groups.google.com/a/damus.io/g/patches/c/VkD0QccsrEM

@alltheseas I am thinking to jump into https://github.com/damus-io/damus/issues/1704 on Wednesday to keep push notifications evolving, but please feel free to recommend me another ticket if you know of a higher priority item to work on!

Overall, please let me know if you have any questions or concerns! Thank you!

danieldaquino avatar May 14 '24 03:05 danieldaquino