Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use did for userID (#7647)

authored by

Hailey and committed by
GitHub
78419bee bbe2c108

+1 -6
+1 -6
src/lib/statsig/statsig.tsx
··· 1 1 import React from 'react' 2 2 import {Platform} from 'react-native' 3 3 import {AppState, AppStateStatus} from 'react-native' 4 - import {sha256} from 'js-sha256' 5 4 import {Statsig, StatsigProvider} from 'statsig-react-native-expo' 6 5 7 6 import {BUNDLE_DATE, BUNDLE_IDENTIFIER, IS_TESTFLIGHT} from '#/lib/app-info' ··· 189 188 } 190 189 191 190 function toStatsigUser(did: string | undefined): StatsigUser { 192 - let userID: string | undefined 193 - if (did) { 194 - userID = sha256(did) 195 - } 196 191 const languagePrefs = persisted.get('languagePrefs') 197 192 return { 198 - userID, 193 + userID: did, 199 194 platform: Platform.OS as 'ios' | 'android' | 'web', 200 195 custom: { 201 196 refSrc,