reset avatar when deleteFarcasterChannelTag is called
Summary:
if a tagged community has a farcaster avatar, we should reset it to NULL when the tag is removed
Depends on D13778
Test Plan:
Tested in conjunction with previous diff
id | name | avatar | description |
Created community
84426 | Oct23 | NULL | NULL |
Tagged community with spam channel. NULL description was replaced with description from neynar. (also confirmed that avatar and description were updated on client)
84426 | Oct23 | {"type":"farcaster"} | Dedicated channel for everything $SPAM |
Removed tag. avatar was reset to NULL. description remained
84426 | Oct23 | NULL | Dedicated channel for everything $SPAM |
Removed description from native app. It was set to an empty string
84426 | Oct23 | NULL | |
Added a new description from app.
84426 | Oct23 | NULL | Asdf |
Tagged community with a different channel. Avatar changed but description remained the same.
84426 | Oct23 | {"type":"farcaster"} | Asdf |
Removed tag
84426 | Oct23 | NULL | Asdf |
Removed description
84426 | Oct23 | NULL | |
Tagged community with a different channel. empty string description was replaced with description from neynar
84426 | Oct23 | {"type":"farcaster"} | your musings, thoughts & dreams; welcome here |
Removed tag and set a custom emoji avatar
84426 | Oct23 | {"type":"emoji","emoji":"?","color":"57697f"} | your musings, thoughts & dreams; welcome here |
Added and removed a new tag, avatar was not overwritten
84426 | Oct23 | {"type":"emoji","emoji":"?","color":"57697f"} | your musings, thoughts & dreams; welcome here |
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D13779