fix: error of notes with file

This commit is contained in:
Lhcfl 2024-04-03 21:26:58 +08:00
parent 82dff9beb1
commit add6081f18

View file

@ -219,7 +219,11 @@ function connectChannel() {
channelId: props.channel,
});
}
if (props.src !== "directs" && props.src !== "mentions")
if (
props.src !== "directs" &&
props.src !== "mentions" &&
props.src !== "file"
)
connection.on("note", prepend);
}