mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
feat: handle mine event for incoming messages (#10867)
Handle `mine` condition, missed in https://github.com/chatwoot/chatwoot/pull/10529
This commit is contained in:
@@ -152,7 +152,10 @@ export class DashboardAudioNotificationHelper {
|
||||
|
||||
const shouldPlayAudio = [];
|
||||
|
||||
if (audioAlertType.includes(EVENT_TYPES.ASSIGNED)) {
|
||||
if (
|
||||
audioAlertType.includes(EVENT_TYPES.ASSIGNED) ||
|
||||
audioAlertType.includes('mine')
|
||||
) {
|
||||
shouldPlayAudio.push(assignedToMe);
|
||||
}
|
||||
if (audioAlertType.includes(EVENT_TYPES.UNASSIGNED)) {
|
||||
|
||||
Reference in New Issue
Block a user