KamoCRM

Stop overwriting member avatar with logged-in user's avatar on profile view

Fixkamo-internal
Shipped
20 ஏப்ரல், 2026 அன்று 7:42 PM UTC
Author
kamo
Commit
7467208

fetchAvatars fetched /api/security/avatars (no memberID scope — always returns the logged-in user's avatars) and called setActiveAvatar, clobbering the correct member avatar already loaded from the member endpoint. Admins viewing another member's my-profile tab would see their own photo instead of the member's.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing