Skip to content

Post-with-quote incorrectly displays quoted post, when quoted post matches a "hide" filter #36840

@nikclayton

Description

@nikclayton

Steps to reproduce the problem

https://docs.joinmastodon.org/client/quotes/ says

we have decided for the Mastodon Web UI to still show the quoting post if the quoted post matches a hide action filter but not the quoting post. In this case, the Mastodon Web UI hides the quoted post with “Hidden due to one of your filters”.

I have a status "A" from one of my test accounts, that quotes "B".

"B" matches one of my filters, the filter is set to hide.

The UI shows it as though it is a "warn" filter, with a control to click through and see the contents. The API shows the matching filter is included, and the filter_action is hide

Image

Here's the relevant bit from the Firefox network inspector -- the highlighted line is the filter that should be applied.

Image

Clicking through to view the thread displays the quoted post unhidden, per this screenshot. Again, the API response in the network inspector definitely show the quoted_status.filtered.filter.filter_action set to hide.

Image

The filter is applied in all contexts:

Image

Expected behaviour

As above

Actual behaviour

As above

Detailed description

As above.

Mastodon instance

mastodon.social

Mastodon version

v4.6.0-nightly.2025-11-06

Browser name and version

Firefox 144.0.2

Operating system

Kubuntu 25.10

Technical details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/web interfaceRelated to the Mastodon web interface

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions