diff --git a/src/state/queries/threadgate/util.ts b/src/state/queries/threadgate/util.ts index 09ae0a0c1f..fdaa2671f1 100644 --- a/src/state/queries/threadgate/util.ts +++ b/src/state/queries/threadgate/util.ts @@ -6,9 +6,7 @@ export function threadgateViewToAllowUISetting( threadgateView: AppBskyFeedDefs.ThreadgateView | undefined, ): ThreadgateAllowUISetting[] { const threadgate = - threadgateView && - AppBskyFeedThreadgate.isRecord(threadgateView.record) && - AppBskyFeedThreadgate.validateRecord(threadgateView.record).success + threadgateView && AppBskyFeedThreadgate.isValidRecord(threadgateView.record) ? threadgateView.record : undefined return threadgateRecordToAllowUISetting(threadgate)