Fix error

This commit is contained in:
syuilo 2019-02-28 14:13:18 +09:00
parent 0bb961767c
commit 57dde1da38
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

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