mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 01:53:08 +02:00
fix(frontend): fix of 30efd932a5
This commit is contained in:
parent
93d3501c90
commit
721cbe085b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue