feat(privacy): add private-message permission toggle

This commit is contained in:
2026-03-08 02:56:58 +03:00
parent f1b2e47df8
commit 76ab9c72f5
11 changed files with 61 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ interface UserProfileUpdatePayload {
username?: string;
bio?: string | null;
avatar_url?: string | null;
allow_private_messages?: boolean;
}
export async function updateMyProfile(payload: UserProfileUpdatePayload): Promise<AuthUser> {