mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -67,7 +67,7 @@ define('chat', [
|
||||
|
||||
if (!isSelf && (!modal.is(':visible') || !app.isFocused)) {
|
||||
app.alternatingTitle('[[modules:chat.user_has_messaged_you, ' + username + ']]');
|
||||
sounds.play('chat-incoming');
|
||||
sounds.play('chat-incoming', 'chat.incoming:' + data.message.mid);
|
||||
|
||||
taskbar.push('chat', modal.attr('UUID'), {
|
||||
title: data.roomName || username,
|
||||
@@ -89,7 +89,7 @@ define('chat', [
|
||||
module.toggleNew(modal.attr('UUID'), !isSelf, true);
|
||||
if (!isSelf) {
|
||||
app.alternatingTitle('[[modules:chat.user_has_messaged_you, ' + username + ']]');
|
||||
sounds.play('chat-incoming');
|
||||
sounds.play('chat-incoming', 'chat.incoming:' + data.message.mid);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user