This repository has no description
0

Configure Feed

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

fix follow firehose event handling

+9 -1
+1 -1
src/modules/atproto/application/useCases/ProcessFollowFirehoseEventUseCase.ts
··· 156 156 return ok(undefined); 157 157 } 158 158 159 - targetId = collectionIdResult.value.toString(); 159 + targetId = collectionIdResult.value.getStringValue(); 160 160 } else { 161 161 if (ENABLE_FIREHOSE_LOGGING) { 162 162 console.warn(
+8
src/modules/atproto/infrastructure/services/DrizzleFirehoseEventDuplicationService.ts
··· 101 101 // If a record exists, it hasn't been deleted 102 102 return ok(records.length === 0); 103 103 } 104 + case collections.follow: { 105 + const followInfoResult = 106 + await this.atUriResolver.resolveFollowId(atUri); 107 + if (followInfoResult.isErr()) { 108 + return err(followInfoResult.error); 109 + } 110 + return ok(followInfoResult.value === null); 111 + } 104 112 default: 105 113 return err(new Error(`Unknown collection type: ${collection}`)); 106 114 }