Further improvements for backup import/export
This commit is contained in:
parent
b9cd858ec7
commit
d5f44c1b8f
24 changed files with 539 additions and 201 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue