cherrypick icon indicating copy to clipboard operation
cherrypick copied to clipboard

MFM의 shouldNyaize관련 논의

Open kdh8219 opened this issue 1 year ago • 2 comments

https://github.com/kokonect-link/cherrypick/blob/cf9bf6fa0f9c3623ffa148245b2c7c82595ebe6b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts#L54 nyize는 true, false, 'respect'를 가질 수 있는데 각각 nyize 강제적용, 강제 미적용, 계정주의 isCat 여부에 따름 으로 되야 할 것으로 예상했는데 실 동작은 강제 미적용, 강제 미적용, 계정주의 isCat 여부에 따름 으로 되어있었습니다

const shouldNyaize = props.nyaize ? props.nyaize === 'respect' ? props.author?.isCat : true : false;

로 바꾸는건 어떨까요?

kdh8219 avatar Jan 14 '24 10:01 kdh8219