You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
use correct default for notification silencing (#9388)
This commit is contained in:
@ -81,8 +81,8 @@ describe('notifications', () => {
|
||||
});
|
||||
|
||||
describe('localNotificationsAreSilenced', () => {
|
||||
it('defaults to true when no setting exists', () => {
|
||||
expect(localNotificationsAreSilenced(mockClient)).toBeTruthy();
|
||||
it('defaults to false when no setting exists', () => {
|
||||
expect(localNotificationsAreSilenced(mockClient)).toBeFalsy();
|
||||
});
|
||||
it('checks the persisted value', () => {
|
||||
mockClient.setAccountData(accountDataEventKey, { is_silenced: true });
|
||||
|
Reference in New Issue
Block a user