Notifications still arrive for filtered posts #545

Open
opened 2024-10-10 16:22:21 +00:00 by gingerbeardman · 3 comments

I've been getting a lot of the same spam as other Mastodon users. I got tired with dealing with it so I set up a filter at my mastodon profile page to ignore posts with that content. Works well! They don't show up in Tusker.

However, Tusker still sends me notifications about the filtered posts.

I've been getting a lot of the same spam as other Mastodon users. I got tired with dealing with it so I set up a filter at my mastodon profile page to ignore posts with that content. Works well! They don't show up in Tusker. However, Tusker still sends me notifications about the filtered posts.
shadowfacts added the
enhancement
label 2024-10-10 17:08:40 +00:00
shadowfacts added this to the 2025.x milestone 2024-10-10 17:08:45 +00:00
Owner

Note to self: this requires this entitlement which is by request only

Note to self: this requires [this entitlement](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_usernotifications_filtering?language=objc) which is by request only
Author

I'm interested in the flow of information.

Are the sources of information different for what is displayed in the app compared to what ends up as a notification? Or not? Where does the filtering happen?

I'm interested in the flow of information. Are the sources of information different for what is displayed in the app compared to what ends up as a notification? Or not? Where does the filtering happen?
Owner

The source of information is essentially the same, but filtering is implemented on the client side. The notifications tab has had filtering for ages and I skipped it initially for push notifications because I hadn't requested that entitlement. The special entitlement is required because, otherwise, a malicious app developer could send hidden/silent push notifications, waking up the app in the background w/o informing the user. In Tusker's case, push notification filtering can't be done on my server because the notification content is encrypted by the originating instance and only decrypted on your device.

The source of information is essentially the same, but filtering is implemented on the client side. The notifications tab has had filtering for ages and I skipped it initially for push notifications because I hadn't requested that entitlement. The special entitlement is required because, otherwise, a malicious app developer could send hidden/silent push notifications, waking up the app in the background w/o informing the user. In Tusker's case, push notification filtering can't be done on my server because the notification content is encrypted by the originating instance and only decrypted on your device.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: shadowfacts/Tusker#545
No description provided.