mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Move to uuids for untrusted conversations needing verification
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user