Fix error
This commit is contained in:
parent
0bb961767c
commit
57dde1da38
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
export default function(me, settings, note) {
|
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 isPureRenote = note.renoteId != null && note.text == null && note.fileIds.length == 0 && note.poll == null;
|
||||||
|
|
||||||
const includesMutedWords = (text: string) =>
|
const includesMutedWords = (text: string) =>
|
||||||
|
|
Loading…
Reference in a new issue