Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -4,15 +4,18 @@
|
|||
import type { ServiceIdString } from '../types/ServiceId';
|
||||
import { strictAssert } from './assert';
|
||||
|
||||
export function startConversation(e164: string, uuid: ServiceIdString): void {
|
||||
export function startConversation(
|
||||
e164: string,
|
||||
serviceId: ServiceIdString
|
||||
): void {
|
||||
const conversation = window.ConversationController.lookupOrCreate({
|
||||
e164,
|
||||
uuid,
|
||||
serviceId,
|
||||
reason: 'util/startConversation',
|
||||
});
|
||||
strictAssert(
|
||||
conversation,
|
||||
`startConversation failed given ${e164}/${uuid} combination`
|
||||
`startConversation failed given ${e164}/${serviceId} combination`
|
||||
);
|
||||
|
||||
window.reduxActions.conversations.showConversation({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue