Device manager - test coverage for Notifier (#9392)

* use correct default for notification silencing

* test notifications with no local notifications setting event

* test notifier from cli event to trigger

* lint
This commit is contained in:
Kerry
2022-10-13 09:07:48 +02:00
committed by GitHub
parent 776ffa4764
commit 1e9872662a
2 changed files with 137 additions and 12 deletions
+1
View File
@@ -431,6 +431,7 @@ export const Notifier = {
const room = MatrixClientPeg.get().getRoom(roomId);
const actions = MatrixClientPeg.get().getPushActionsForEvent(ev);
if (actions?.notify) {
this._performCustomEventHandling(ev);