signal-desktop/ts/shims/contactVerification.ts
2020-07-30 13:10:05 -07:00

13 lines
358 B
TypeScript

export async function toggleVerification(id: string): Promise<void> {
const contact = window.getConversations().get(id);
if (contact) {
await contact.toggleVerified();
}
}
export async function reloadProfiles(id: string): Promise<void> {
const contact = window.getConversations().get(id);
if (contact) {
await contact.getProfiles();
}
}