Skip to content

bug: After updating the profile avatar and going back, the old cached image still shows instead of the new one. #6794

@deepak0x

Description

@deepak0x

Describe the Bug

After I update a profile avatar and go back, it still shows the old image from cache. The new avatar only appears if I hit "Save Changes" again or refresh the screen manually.

Steps to Reproduce

Steps to Reproduce
Open the Profile view
Tap the edit to open image change
Select a new image (camera, gallery, or URL)
Save the changes
Navigate back to the Profile view
you will se the old avatar is still displayed

Expected Behavior

After saving a new profile avatar and going back, the Profile screen should instantly show the updated avatar, not the old cached one.

Actual Behavior

When I go back after changing the avatar, the Profile screen still shows the old cached image. The new avatar only appears if I tap “Save Changes” again, refresh the app, or restart it. This makes it look like the avatar didn’t update properly.

Rocket.Chat Server Version

Any version (client-side caching issue)

Rocket.Chat App Version

4.67.0

Device Name

All devices (iOS and Android)

OS Version

All supported versions

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions