forked from retoor/snek
Fix cross typing.
This commit is contained in:
@@ -181,7 +181,9 @@ app.addEventListener("channel-message", (data) => {
|
||||
if (isMentionToMe(data.message)) {
|
||||
app.playSound("mention");
|
||||
} else if (!isMentionForSomeoneElse(data.message)) {
|
||||
app.playSound("message");
|
||||
if(data.is_final){
|
||||
app.playSound("message");
|
||||
}
|
||||
}
|
||||
}
|
||||
const lastElement = messagesContainer.querySelector(".message-list-bottom");
|
||||
|
||||
Reference in New Issue
Block a user