diff --git a/src/client/app/common/scripts/should-mute-note.ts b/src/client/app/common/scripts/should-mute-note.ts index 42e167915..c5f189894 100644 --- a/src/client/app/common/scripts/should-mute-note.ts +++ b/src/client/app/common/scripts/should-mute-note.ts @@ -1,5 +1,5 @@ export default function(me, settings, note) { - const isMyNote = note.userId == me.id; + const isMyNote = me && (note.userId == me.id); const isPureRenote = note.renoteId != null && note.text == null && note.fileIds.length == 0 && note.poll == null; const includesMutedWords = (text: string) =>