1
0
forked from mirror/misskey

fix(frontend): fix of 30efd932a5

This commit is contained in:
syuilo 2023-10-19 17:42:19 +09:00
parent 93d3501c90
commit 721cbe085b

View File

@ -60,7 +60,7 @@ export default function(props: {
switch (token.type) {
case 'text': {
let text = token.props.text.replace(/(\r\n|\n|\r)/g, '\n');
if (!disableNyaize && props.author.isCat) {
if (!disableNyaize && props.author?.isCat) {
text = nyaize(text);
}