mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Further improvements for backup import/export
This commit is contained in:
@@ -33,10 +33,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Joined,
|
||||
},
|
||||
callCreator,
|
||||
@@ -62,10 +64,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Outgoing,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Joined,
|
||||
},
|
||||
callCreator,
|
||||
@@ -91,10 +95,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Declined,
|
||||
},
|
||||
callCreator,
|
||||
@@ -120,10 +126,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now() - HOUR,
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Joined,
|
||||
},
|
||||
callCreator,
|
||||
@@ -149,10 +157,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now() - HOUR,
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Missed,
|
||||
},
|
||||
callCreator,
|
||||
@@ -178,10 +188,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Outgoing,
|
||||
timestamp: Date.now() - HOUR,
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Joined,
|
||||
},
|
||||
callCreator,
|
||||
@@ -209,10 +221,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Ringing,
|
||||
},
|
||||
callCreator,
|
||||
@@ -241,10 +255,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Incoming,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Ringing,
|
||||
},
|
||||
callCreator,
|
||||
@@ -272,10 +288,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: callCreator.serviceId ?? null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Outgoing,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Ringing,
|
||||
},
|
||||
callCreator,
|
||||
@@ -300,10 +318,12 @@ describe('calling notification helpers', () => {
|
||||
callId: '123',
|
||||
peerId: getPeerIdFromConversation(getDefaultGroup()),
|
||||
ringerId: null,
|
||||
startedById: null,
|
||||
mode: CallMode.Group,
|
||||
type: CallType.Group,
|
||||
direction: CallDirection.Outgoing,
|
||||
timestamp: Date.now(),
|
||||
endedTimestamp: null,
|
||||
status: GroupCallStatus.Ringing,
|
||||
},
|
||||
callCreator: null,
|
||||
|
||||
Reference in New Issue
Block a user