kopia lustrzana https://github.com/cheeaun/phanpy
Changed CWs on replies to be kept if content is sensitive OR if there is spoiler text, rather than being only sensitive content and explicitly without spoiler text. Fixes #1110.
rodzic
738c20ecea
commit
8e49152f77
|
@ -328,7 +328,7 @@ function Compose({
|
|||
prefs['posting:default:language']?.toLowerCase() ||
|
||||
DEFAULT_LANG,
|
||||
);
|
||||
setSensitive(sensitive && !!spoilerText);
|
||||
setSensitive(sensitive || spoilerText);
|
||||
} else if (editStatus) {
|
||||
const { visibility, language, sensitive, poll, mediaAttachments } =
|
||||
editStatus;
|
||||
|
|
Ładowanie…
Reference in New Issue