Files
Desktop/ts/shims/contactVerification.ts
Scott Nonnenberg 237e239e05 Remove backbone as a dependency
Co-authored-by: Yash <yash@signal.org>
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2025-08-11 14:06:34 -07:00

17 lines
449 B
TypeScript

// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export async function toggleVerification(id: string): Promise<void> {
const contact = window.ConversationController.get(id);
if (contact) {
await contact.toggleVerified();
}
}
export async function reloadProfiles(id: string): Promise<void> {
const contact = window.ConversationController.get(id);
if (contact) {
await contact.getProfiles();
}
}