mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
upd: add extra check for isCat to note nyaification
This commit is contained in:
parent
b216af65c5
commit
2356566e63
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ export class NoteEntityService implements OnModuleInit {
|
|||
} : {}),
|
||||
});
|
||||
|
||||
if (packed.user.speakAsCat && packed.text) {
|
||||
if (packed.user.isCat && packed.user.speakAsCat && packed.text) {
|
||||
const tokens = packed.text ? mfm.parse(packed.text) : [];
|
||||
function nyaizeNode(node: mfm.MfmNode) {
|
||||
if (node.type === 'quote') return;
|
||||
|
|
Loading…
Reference in a new issue