Detailed description
The server-side filtering Mastodon does for DMs has suddenly changed. Mastodon.social has already deployed the new version of the feature right now, and other Mastodon-Ruby servers will pick up the new feature when 4.3.0 ships. The new server-side feature requires Tusky to implement one or more client-side features.
Previously, Mastodon had a setting "Block direct messages from accounts you don't follow" in the Preferences tab. When this setting was checked, DMs from non-followed accounts were silently hidden (in other words, it acted like "Mute", not "Block").
As of two weeks ago, mastodon.social changed this. I'm not aware of any announcement of this outside of the pull request and I discovered it by accident this morning.
There is now a large bar at the top of the notification filters pane (not the preferences*), listing various options that put a notification into "filtered notification" state:

The last of these options, "Filter out notifications from… unsolicited private mentions", is on by default for new users. Actually that's not true, it's on by default for everyone, but according to Claire from Mastodon that was a bug so apparently soon it will be ratcheted back down and only new users (and users who specifically chose to have the flag on) will have it on.
When these "filter" options are engaged, if a "filtered" post is received, it will look like this:

A "N notifications filtered" box appears at the top of the notification column. When clicked, a new column opens showing each user who has sent you filtered notifications. If you click on a username, it opens a third column showing just the notifications from the user in question (screenshot). To make the "N notifications filtered" box go away, you must click the "Dismiss" or "Accept" button next to each of the listed users.
There is a problem: This new feature is server-side, and according to Claire from Mastodon
both the old thing and the new thing are performed server-side, clients that don't support the new thing will just not show you the “Filtered notifications” prompt and won't let you access the filtered notifications.
In summary, there is a new feature that is on by default for some users, and unless Tusky proactively adds support for this feature, this feature will hide content from Tusky users in such a way they cannot know content is being hidden, and cannot turn the feature off, unless they go to the website.
Expected behavior
The new feature is only partially documented (according to @renchap Mastodon has "an internal ticket" to add documentation) but consists of four new endpoints; a list of "notification requests" (it appears to be poll only); a RPC to accept a notification request; an RPC to reject a notification requests; and an RPC to change the server-side notification-filter "policy" (the four checkboxes above, I assume).
I think Tusky 25 should, at minimum, contain a GUI frontend for notifications/policy. As far as I know we have no checkbox for the old "Mute direct messages from people you don't follow" setting, so this is new UI. I would put this in "Account Preferences" (Mastodon puts it in the notification filters box, but I don't think this is practical on mobile.)
I think Tusky 26 should contain full support for displaying, approving, and dismissing (denying) the notification requests. (Earlier would also be nice, but it is a somewhat large feature and 26 is not far away, so maybe we should not rush it.) I think we can mostly reuse the Follow Notifications UI for this, but I think we should also add a "⋮" menu option for "deny all" (possibly this would be good in Follow Notifications as well) because [in my opinion requiring individually clicking on every request, as the Mastodon Web UI requires, would be bad if a user is being targeted for harassment.
As a stopgap before Tusky 25, I think our official Mastodon account should make a post about the new feature, notifying users that the feature may be on for them and showing how to disable it in the web UI.
Steps to reproduce the problem
n/a
Debug information
n/a
Detailed description
The server-side filtering Mastodon does for DMs has suddenly changed. Mastodon.social has already deployed the new version of the feature right now, and other Mastodon-Ruby servers will pick up the new feature when 4.3.0 ships. The new server-side feature requires Tusky to implement one or more client-side features.
Previously, Mastodon had a setting "Block direct messages from accounts you don't follow" in the Preferences tab. When this setting was checked, DMs from non-followed accounts were silently hidden (in other words, it acted like "Mute", not "Block").
As of two weeks ago, mastodon.social changed this. I'm not aware of any announcement of this outside of the pull request and I discovered it by accident this morning.
There is now a large bar at the top of the notification filters pane (not the preferences*), listing various options that put a notification into "filtered notification" state:
The last of these options, "Filter out notifications from… unsolicited private mentions", is on by default for new users. Actually that's not true, it's on by default for everyone, but according to Claire from Mastodon that was a bug so apparently soon it will be ratcheted back down and only new users (and users who specifically chose to have the flag on) will have it on.
When these "filter" options are engaged, if a "filtered" post is received, it will look like this:
A "N notifications filtered" box appears at the top of the notification column. When clicked, a new column opens showing each user who has sent you filtered notifications. If you click on a username, it opens a third column showing just the notifications from the user in question (screenshot). To make the "N notifications filtered" box go away, you must click the "Dismiss" or "Accept" button next to each of the listed users.
There is a problem: This new feature is server-side, and according to Claire from Mastodon
In summary, there is a new feature that is on by default for some users, and unless Tusky proactively adds support for this feature, this feature will hide content from Tusky users in such a way they cannot know content is being hidden, and cannot turn the feature off, unless they go to the website.
Expected behavior
The new feature is only partially documented (according to @renchap Mastodon has "an internal ticket" to add documentation) but consists of four new endpoints; a list of "notification requests" (it appears to be poll only); a RPC to accept a notification request; an RPC to reject a notification requests; and an RPC to change the server-side notification-filter "policy" (the four checkboxes above, I assume).
I think Tusky 25 should, at minimum, contain a GUI frontend for
notifications/policy. As far as I know we have no checkbox for the old "Mute direct messages from people you don't follow" setting, so this is new UI. I would put this in "Account Preferences" (Mastodon puts it in the notification filters box, but I don't think this is practical on mobile.)I think Tusky 26 should contain full support for displaying, approving, and dismissing (denying) the notification requests. (Earlier would also be nice, but it is a somewhat large feature and 26 is not far away, so maybe we should not rush it.) I think we can mostly reuse the Follow Notifications UI for this, but I think we should also add a "⋮" menu option for "deny all" (possibly this would be good in Follow Notifications as well) because [in my opinion requiring individually clicking on every request, as the Mastodon Web UI requires, would be bad if a user is being targeted for harassment.
As a stopgap before Tusky 25, I think our official Mastodon account should make a post about the new feature, notifying users that the feature may be on for them and showing how to disable it in the web UI.
Steps to reproduce the problem
n/a
Debug information
n/a