about summary refs log tree commit diff
path: root/src/state/cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/cache')
-rw-r--r--src/state/cache/profile-shadow.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/cache/profile-shadow.ts b/src/state/cache/profile-shadow.ts
index 82ee44388..9c23e4550 100644
--- a/src/state/cache/profile-shadow.ts
+++ b/src/state/cache/profile-shadow.ts
@@ -1,4 +1,5 @@
 import {useEffect, useMemo, useState} from 'react'
+import {type AppBskyActorDefs} from '@atproto/api'
 import {type QueryClient} from '@tanstack/react-query'
 import EventEmitter from 'eventemitter3'
 
@@ -29,6 +30,7 @@ export interface ProfileShadow {
   followingUri: string | undefined
   muted: boolean | undefined
   blockingUri: string | undefined
+  verification: AppBskyActorDefs.VerificationState
 }
 
 const shadows: WeakMap<
@@ -134,6 +136,8 @@ function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
       blocking:
         'blockingUri' in shadow ? shadow.blockingUri : profile.viewer?.blocking,
     },
+    verification:
+      'verification' in shadow ? shadow.verification : profile.verification,
   })
 }