mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-22 14:54:28 +03:00
82 lines
1.6 KiB
Text
82 lines
1.6 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`StopGapWidgetDriver sendToDevice sends encrypted messages 1`] = `
|
|
[
|
|
[
|
|
[
|
|
{
|
|
"deviceInfo": DeviceInfo {
|
|
"algorithms": [],
|
|
"deviceId": "aliceWeb",
|
|
"keys": {},
|
|
"known": false,
|
|
"signatures": {},
|
|
"unsigned": {},
|
|
"verified": 0,
|
|
},
|
|
"userId": "@alice:example.org",
|
|
},
|
|
{
|
|
"deviceInfo": DeviceInfo {
|
|
"algorithms": [],
|
|
"deviceId": "aliceMobile",
|
|
"keys": {},
|
|
"known": false,
|
|
"signatures": {},
|
|
"unsigned": {},
|
|
"verified": 0,
|
|
},
|
|
"userId": "@alice:example.org",
|
|
},
|
|
],
|
|
{
|
|
"hello": "alice",
|
|
},
|
|
],
|
|
[
|
|
[
|
|
{
|
|
"deviceInfo": DeviceInfo {
|
|
"algorithms": [],
|
|
"deviceId": "bobDesktop",
|
|
"keys": {},
|
|
"known": false,
|
|
"signatures": {},
|
|
"unsigned": {},
|
|
"verified": 0,
|
|
},
|
|
"userId": "@bob:example.org",
|
|
},
|
|
],
|
|
{
|
|
"hello": "bob",
|
|
},
|
|
],
|
|
]
|
|
`;
|
|
|
|
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",
|
|
},
|
|
],
|
|
]
|
|
`;
|