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)
Sun, Nov 10, 1:59 PM
Unknown Object (File)
Oct 27 2024, 8:19 AM
Unknown Object (File)
Oct 22 2024, 2:57 PM
Unknown Object (File)
Oct 15 2024, 9:16 PM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 29 2024, 4:46 AM
Unknown Object (File)
Sep 29 2024, 4:46 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