Clean up conversations with UUID as E164
This commit is contained in:
parent
a22dcc986f
commit
8951665554
4 changed files with 23 additions and 11 deletions
|
@ -619,14 +619,14 @@ export const getConversationSelector = createSelector(
|
|||
return selector(undefined);
|
||||
}
|
||||
|
||||
const onE164 = getOwn(byE164, id);
|
||||
if (onE164) {
|
||||
return selector(onE164);
|
||||
}
|
||||
const onUuid = getOwn(byUuid, id.toLowerCase ? id.toLowerCase() : id);
|
||||
if (onUuid) {
|
||||
return selector(onUuid);
|
||||
}
|
||||
const onE164 = getOwn(byE164, id);
|
||||
if (onE164) {
|
||||
return selector(onE164);
|
||||
}
|
||||
const onGroupId = getOwn(byGroupId, id);
|
||||
if (onGroupId) {
|
||||
return selector(onGroupId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue