damus-io / damus

iOS nostr client
GNU General Public License v3.0
1.95k stars 290 forks source link

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

Open danieldaquino opened 2 weeks ago

danieldaquino commented 2 weeks ago

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:

danieldaquino commented 6 days ago

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 commented 5 days ago

@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!