-
-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ignore sensitive
flag when there is no summary or media
#1145
base: main
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for elk-docs canceled.
|
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Are |
You can also have a poll, but I don't believe it's possible to mark a poll as sensitive. |
Sounds good. I think since the condition has gotten quite long it should be stored in a variable to help with readability and to make it easier to modify in the future if needed. |
I don’t think this should be merged. The activitypub spec allows a post to be marked as sensitive without a summary nor media attachments. Mastodon may never itself generate a post like this, but a federated posts may have this. Elk should instead have a way of displaying posts as sensitive (i.e. hiding behind some filler CW) regardless of a CW or media existing. |
That's a great point! I guess the real solution here is to update the verbiage to be less confusing when this specific edge case happens. |
The tricky thing is that Mastodon uses this: What about this set of behaviour?
|
Mastodon uses sensitive flag + empty spoiler text to indicate sensitive media.
resolves #1072