Early preparations for PNP Contact Merging
This commit is contained in:
parent
2f5dd73e58
commit
faf6c41332
30 changed files with 1572 additions and 447 deletions
|
@ -121,10 +121,10 @@ const mapStateToActiveCallProp = (
|
|||
const conversationSelectorByUuid = memoize<
|
||||
(uuid: UUIDStringType) => undefined | ConversationType
|
||||
>(uuid => {
|
||||
const conversationId = window.ConversationController.ensureContactIds({
|
||||
const convoForUuid = window.ConversationController.lookupOrCreate({
|
||||
uuid,
|
||||
});
|
||||
return conversationId ? conversationSelector(conversationId) : undefined;
|
||||
return convoForUuid ? conversationSelector(convoForUuid.id) : undefined;
|
||||
});
|
||||
|
||||
const baseResult = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue