fix: error of notes with file

This commit is contained in:
Lhcfl 2024-04-03 21:26:58 +08:00
parent 82dff9beb1
commit add6081f18
1 changed files with 5 additions and 1 deletions

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);
}