Fix error

This commit is contained in:
syuilo 2019-02-28 14:13:18 +09:00
parent da84e8a1cb
commit ae056509f7

View File

@ -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) =>