diff --git a/lib/shared/threads/protocols/farcaster-thread-protocol.js b/lib/shared/threads/protocols/farcaster-thread-protocol.js --- a/lib/shared/threads/protocols/farcaster-thread-protocol.js +++ b/lib/shared/threads/protocols/farcaster-thread-protocol.js @@ -18,10 +18,14 @@ RawThreadInfo, RoleInfo, ThreadCurrentUserInfo, + ThreadInfo, } from '../../../types/minimally-encoded-thread-permissions-types.js'; import type { SubscriptionUpdateResult } from '../../../types/subscription-types.js'; import type { ThreadType } from '../../../types/thread-types-enum.js'; -import { assertFarcasterThreadType } from '../../../types/thread-types-enum.js'; +import { + assertFarcasterThreadType, + farcasterThreadTypes, +} from '../../../types/thread-types-enum.js'; import type { ChangeThreadSettingsPayload, ClientDBThreadInfo, @@ -135,8 +139,8 @@ couldBeCreatedFromPendingThread: () => true, - canBeFrozen: (): boolean => { - throw new Error('canBeFrozen method is not yet implemented'); + canBeFrozen: (thread: ThreadInfo) => { + return thread.type === farcasterThreadTypes.FARCASTER_PERSONAL; }, pendingThreadType: (): ThreadType => {