Delegate AvatarObjectPaths to the shared library

RefactorSecurityService
Shipped
21 Agosti 2026, 02:02 UTC
Author
Kamo
Commit
ed40aeb

MediaService now names avatar objects too — the support chats list shows the requestor's photo, and a support requestor is in somebody else's organization, so no client-side directory can resolve them. Two copies of an avatar object path is precisely the failure this class was written to end: the path used to carry the request's host, so a photo uploaded on one org's domain 404'd when read from another and degraded silently to initials. The strings move to the shared library; this class stays as a delegating alias so its six call sites keep their import unchanged, and holds no paths of its own.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei