Move to uuids for untrusted conversations needing verification
This commit is contained in:
parent
d3f9b656dd
commit
d446aa9e6b
12 changed files with 138 additions and 101 deletions
|
@ -27,7 +27,7 @@ import {
|
|||
getComposeSelectedContacts,
|
||||
getContactNameColorSelector,
|
||||
getConversationByIdSelector,
|
||||
getConversationIdsStoppingSend,
|
||||
getConversationUuidsStoppingSend,
|
||||
getConversationIdsStoppedForVerification,
|
||||
getConversationsByTitleSelector,
|
||||
getConversationSelector,
|
||||
|
@ -311,17 +311,17 @@ describe('both/state/selectors/conversations', () => {
|
|||
verificationDataByConversation: {
|
||||
'convo a': {
|
||||
type: ConversationVerificationState.PendingVerification as const,
|
||||
conversationsNeedingVerification: ['abc'],
|
||||
uuidsNeedingVerification: ['abc'],
|
||||
},
|
||||
'convo b': {
|
||||
type: ConversationVerificationState.PendingVerification as const,
|
||||
conversationsNeedingVerification: ['def', 'abc'],
|
||||
uuidsNeedingVerification: ['def', 'abc'],
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
assert.sameDeepMembers(getConversationIdsStoppingSend(state), [
|
||||
assert.sameDeepMembers(getConversationUuidsStoppingSend(state), [
|
||||
'abc',
|
||||
'def',
|
||||
]);
|
||||
|
@ -354,11 +354,11 @@ describe('both/state/selectors/conversations', () => {
|
|||
verificationDataByConversation: {
|
||||
'convo a': {
|
||||
type: ConversationVerificationState.PendingVerification as const,
|
||||
conversationsNeedingVerification: ['abc'],
|
||||
uuidsNeedingVerification: ['abc'],
|
||||
},
|
||||
'convo b': {
|
||||
type: ConversationVerificationState.PendingVerification as const,
|
||||
conversationsNeedingVerification: ['def', 'abc'],
|
||||
uuidsNeedingVerification: ['def', 'abc'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue