-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back encrypted path in
StopGapWidgetDriver.sendToDevice
- Loading branch information
1 parent
bdf0f1d
commit 8610589
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test/unit-tests/stores/widgets/__snapshots__/StopGapWidgetDriver-test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`StopGapWidgetDriver sendToDevice sends unencrypted messages 1`] = ` | ||
[ | ||
[ | ||
{ | ||
"batch": [ | ||
{ | ||
"deviceId": "*", | ||
"payload": { | ||
"hello": "alice", | ||
}, | ||
"userId": "@alice:example.org", | ||
}, | ||
{ | ||
"deviceId": "bobDesktop", | ||
"payload": { | ||
"hello": "bob", | ||
}, | ||
"userId": "@bob:example.org", | ||
}, | ||
], | ||
"eventType": "org.example.foo", | ||
}, | ||
], | ||
] | ||
`; |