about summary refs log tree commit diff
path: root/src/state/session/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/session/util.ts')
-rw-r--r--src/state/session/util.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/state/session/util.ts b/src/state/session/util.ts
index 8948ecd6b..3a5909e82 100644
--- a/src/state/session/util.ts
+++ b/src/state/session/util.ts
@@ -10,11 +10,12 @@ export function readLastActiveAccount() {
   return accounts.find(a => a.did === currentAccount?.did)
 }
 
-export function isSessionDeactivated(accessJwt: string | undefined) {
+export function isSignupQueued(accessJwt: string | undefined) {
   if (accessJwt) {
     const sessData = jwtDecode(accessJwt)
     return (
-      hasProp(sessData, 'scope') && sessData.scope === 'com.atproto.deactivated'
+      hasProp(sessData, 'scope') &&
+      sessData.scope === 'com.atproto.signupQueued'
     )
   }
   return false