Migrate schema to service ids

This commit is contained in:
Fedor Indutny 2023-08-16 22:54:39 +02:00 committed by Jamie Kyle
parent 71958f8a01
commit 8b0da36caa
258 changed files with 4795 additions and 2613 deletions

View file

@ -3,10 +3,14 @@
import * as log from '../logging/log';
import { profileService } from '../services/profiles';
import type { ServiceIdString } from '../types/ServiceId';
export async function getProfile(uuid?: string, e164?: string): Promise<void> {
export async function getProfile(
serviceId?: ServiceIdString,
e164?: string
): Promise<void> {
const c = window.ConversationController.lookupOrCreate({
uuid,
serviceId,
e164,
reason: 'getProfile',
});