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)
Wed, Dec 4, 12:04 PM
Unknown Object (File)
Wed, Dec 4, 2:13 AM
Unknown Object (File)
Wed, Dec 4, 2:12 AM
Unknown Object (File)
Tue, Dec 3, 11:51 AM
Unknown Object (File)
Nov 10 2024, 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
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