diff --git a/lib/selectors/thread-selectors.js b/lib/selectors/thread-selectors.js --- a/lib/selectors/thread-selectors.js +++ b/lib/selectors/thread-selectors.js @@ -33,6 +33,7 @@ threadIsPending, getPendingThreadID, } from '../shared/thread-utils.js'; +import type { ThreadProtocol } from '../shared/threads/thread-spec.js'; import { threadSpecs, personalThreadTypes, @@ -504,10 +505,12 @@ ]; } - const possibleProtocols = [ + const possibleProtocols: Array> = [ threadSpecs[rawThreadInfo.type].protocol(), - null, ]; + if (!rawThreadInfo.farcaster) { + possibleProtocols.push(null); + } for (const protocol of possibleProtocols) { for (const type of possiblePendingThreadTypes) {