KamoCRM

Delegate AvatarObjectPaths to the shared library

RefactorSecurityService
Ya
21 Agosti 2026, 02:02 UTC
Mwandishi
Kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei