Page MenuHomePhabricator

[keyserver] return default avatar to old clients when avatar type is "farcaster"
ClosedPublic

Authored by varun on Sep 18 2024, 6:14 AM.
Tags
None
Referenced Files
F3373390: D13379.id44548.diff
Tue, Nov 26, 9:26 AM
F3373185: D13379.id44298.diff
Tue, Nov 26, 8:32 AM
Unknown Object (File)
Fri, Nov 22, 5:06 PM
Unknown Object (File)
Wed, Nov 20, 7:03 AM
Unknown Object (File)
Wed, Nov 20, 7:03 AM
Unknown Object (File)
Wed, Nov 20, 7:03 AM
Unknown Object (File)
Wed, Nov 20, 6:39 AM
Unknown Object (File)
Sat, Nov 9, 9:20 PM
Subscribers
None

Details

Summary

when a viewer tries to fetch their own avatar or another user's avatar on an old client, we should return the default avatar. older clients will not be able to handle farcaster avatars

Depends on D13378

Test Plan

default avatar displays on older native app

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Sep 18 2024, 6:31 AM
keyserver/src/fetchers/user-fetchers.js
184 ↗(On Diff #44298)

When will this get moved to NEXT_CODE_VERSION?

This revision is now accepted and ready to land.Sep 18 2024, 7:53 AM
keyserver/src/fetchers/user-fetchers.js
184 ↗(On Diff #44298)

https://linear.app/comm/issue/ENG-9395/enable-farcaster-avatars-for-next-code-version

we'll do it after we have native releases with farcaster avatar support

keyserver/src/fetchers/user-fetchers.js
184 ↗(On Diff #44298)

This doesn't match the normal release process – see comments there. Are you sure you don't want to update this to NEXT_CODE_VERSION now?