Page MenuHomePhabricator

[native] Replace removeThreadAvatar with generic setThreadAvatar
ClosedPublic

Authored by ashoat on May 29 2023, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 9:10 PM
Unknown Object (File)
Thu, Apr 4, 9:10 PM
Unknown Object (File)
Thu, Apr 4, 9:10 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:01 PM
Unknown Object (File)
Feb 11 2024, 1:03 AM
Unknown Object (File)
Feb 11 2024, 12:22 AM
Subscribers

Details

Summary

Decided to do the same thing for thread avatars here as I did for user avatars in D8017. It's good to unify codepaths, and this diff will allow me to deprecate useSaveThreadAvatar in the next diff, replacing it with the shared utilities in EditThreadAvatarProvider.

Depends on D8019

Test Plan

Test clearing thread avatar via iOS simulator

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 29 2023, 5:54 PM
Harbormaster failed remote builds in B19880: Diff 27236!

Make setThreadAvatar return Promise<void> for consistency with D8017, since nothing needs its return anyways

This revision is now accepted and ready to land.May 30 2023, 9:27 AM