Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
414c0a58d3
commit
366b875fd2
269 changed files with 5832 additions and 5550 deletions
|
@ -39,7 +39,7 @@ import {
|
|||
parseE164FromSignalDotMeHash,
|
||||
parseUsernameBase64FromSignalDotMeHash,
|
||||
} from './sgnlHref';
|
||||
import { lookupConversationWithoutUuid } from './lookupConversationWithoutUuid';
|
||||
import { lookupConversationWithoutServiceId } from './lookupConversationWithoutServiceId';
|
||||
import * as log from '../logging/log';
|
||||
import { deleteAllMyStories } from './deleteAllMyStories';
|
||||
import { isEnabled } from '../RemoteConfig';
|
||||
|
@ -548,7 +548,7 @@ export function createIPCEvents(
|
|||
|
||||
const maybeE164 = parseE164FromSignalDotMeHash(hash);
|
||||
if (maybeE164) {
|
||||
const convoId = await lookupConversationWithoutUuid({
|
||||
const convoId = await lookupConversationWithoutServiceId({
|
||||
type: 'e164',
|
||||
e164: maybeE164,
|
||||
phoneNumber: maybeE164,
|
||||
|
@ -569,7 +569,7 @@ export function createIPCEvents(
|
|||
if (maybeUsernameBase64) {
|
||||
const username = await resolveUsernameByLinkBase64(maybeUsernameBase64);
|
||||
|
||||
const convoId = await lookupConversationWithoutUuid({
|
||||
const convoId = await lookupConversationWithoutServiceId({
|
||||
type: 'username',
|
||||
username,
|
||||
showUserNotFoundModal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue