diff --git a/keyserver/src/fetchers/user-fetchers.js b/keyserver/src/fetchers/user-fetchers.js --- a/keyserver/src/fetchers/user-fetchers.js +++ b/keyserver/src/fetchers/user-fetchers.js @@ -178,6 +178,14 @@ let clientAvatar: ?ClientAvatar; if ( + avatar && + avatar.type === 'farcaster' && + !hasMinCodeVersion(viewer.platformDetails, { + native: FUTURE_CODE_VERSION, + }) + ) { + clientAvatar = null; + } else if ( avatar && avatar.type !== 'image' && avatar.type !== 'encrypted_image' @@ -382,7 +390,19 @@ : null; let clientAvatar: ?ClientAvatar; - if (avatar && avatar.type !== 'image' && avatar.type !== 'encrypted_image') { + if ( + avatar && + avatar.type === 'farcaster' && + !hasMinCodeVersion(viewer.platformDetails, { + native: FUTURE_CODE_VERSION, + }) + ) { + clientAvatar = null; + } else if ( + avatar && + avatar.type !== 'image' && + avatar.type !== 'encrypted_image' + ) { clientAvatar = avatar; } else if ( avatar &&