Skip to content

Conversation

@VirtualWolf
Copy link
Contributor

This PR changes Phanpy's logic around whether the Content Warning field in the UI should be pre-filled with the CW from a toot you're replying to be either if the sensitive flag is set or if there is spoiler_text (a CW). This is to work around behaviour from clients like Tusky that set the sensitive flag back to false on replies with CWs when there isn't media attached.

Fixes #1110 (I described my investigation into this problem in that issue).

… is spoiler text, rather than being only sensitive content and explicitly without spoiler text. Fixes cheeaun#1110.
… there is already a content warning on the toot being replied to.
@cheeaun cheeaun merged commit 7f9dfa2 into cheeaun:main Aug 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phanpy discards Content Warning when replying to Private Mentions

2 participants