fix: Audio notification would not work without action on the dashboard (#4303)
* fixes: Audio notification would not work without an action on dashboard * fixes spec * Minor fixes * Minor fixes * Review fixes Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
parent
8482ecc1b1
commit
d4a046a21e
2 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,7 @@ describe('shouldPlayAudio', () => {
|
|||
message_type: 0,
|
||||
private: false,
|
||||
};
|
||||
const [conversationId, userId, isDocHiddden] = [1, 2, false];
|
||||
const [conversationId, userId, isDocHiddden] = [1, 2, true];
|
||||
const result = shouldPlayAudio(
|
||||
message,
|
||||
conversationId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue