diff options
author | Eric Bailey <git@esb.lol> | 2024-05-17 15:38:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 15:38:47 -0500 |
commit | 1b47ea7367c7d0f37557d8f07329c3b6f97a5e03 (patch) | |
tree | 4d738b08b30bbf914855b48ae31ff951faee9fae /src/state/queries/messages/actor-declaration.ts | |
parent | cef243bcf47235b16f0dba54c917fb8c37757c96 (diff) | |
download | voidsky-1b47ea7367c7d0f37557d8f07329c3b6f97a5e03.tar.zst |
Set chat declaration upon signup (#4084)
Diffstat (limited to 'src/state/queries/messages/actor-declaration.ts')
-rw-r--r-- | src/state/queries/messages/actor-declaration.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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, |