From 1b47ea7367c7d0f37557d8f07329c3b6f97a5e03 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 17 May 2024 15:38:47 -0500 Subject: Set chat declaration upon signup (#4084) --- src/state/queries/messages/actor-declaration.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/state/queries/messages/actor-declaration.ts') diff --git a/src/state/queries/messages/actor-declaration.ts b/src/state/queries/messages/actor-declaration.ts index 0886af382..d6a86cf69 100644 --- a/src/state/queries/messages/actor-declaration.ts +++ b/src/state/queries/messages/actor-declaration.ts @@ -19,12 +19,10 @@ export function useUpdateActorDeclaration({ return useMutation({ mutationFn: async (allowIncoming: 'all' | 'none' | 'following') => { if (!currentAccount) throw new Error('Not logged in') - // TODO(sam): remove validate: false once PDSes have the new lexicon const result = await getAgent().api.com.atproto.repo.putRecord({ repo: currentAccount.did, collection: 'chat.bsky.actor.declaration', rkey: 'self', - validate: false, record: { $type: 'chat.bsky.actor.declaration', allowIncoming, -- cgit 1.4.1