mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.2k stars 1.33k forks source link

Wrong profile picture showing for users (iOS) #7376

Open gopi-krd opened 1 year ago

gopi-krd commented 1 year ago

Summary

Wrong profile picture showing for users (iOS). youtube or URL thumbnail images getting updated as users profile picture.

Environment Information

Steps to reproduce

  1. Copy any URL which has thumbnail images (ex: youtube URL)
  2. Paste it in any channel.
  3. Look into the users in menu.
  4. Once the message has been sent that thumbnail getting updated as random user's profile picture without their knowledge.

Expected behavior

Profile picture should not be affected unnecessarily.

Observed behavior (that appears unintentional)

Due to privacy cannot upload the images. also it doesn't affect the person who shares the link. It picks the random person and changes their profile picture.

Possible fixes

It seems issue with naming image URL or image caches. Kindly check this issue Thanks

ParitoshBh commented 1 year ago

I am affected by the same issue as well. Kind of nervous moment at first since the user confirmed that it wasn’t changed by her and I wasn’t sure what did until I came across this issue.

douglaskanderson commented 10 months ago

Had it happen here too. It seems modifying any part of your profile and clicking save resolves. I made these changes on my PC where the image was still fine.

larkox commented 10 months ago

@douglaskanderson In what version are you seeing this? In one of the latest versions we upgraded some libraries that should fix the issue.

arantesxyz commented 10 months ago

Same just happened with one of our coworkers. Although this is funny, it caused a little "security panic" here.

larkox commented 10 months ago

@arantesxyz can you confirm the app version?

And just to verify it is exactly the same issue:

animusastralis commented 6 months ago

It's still happening randomly after each update of Mattermost app

enpluo commented 3 months ago

This just happened to me as well. My profile picture got changed to the logo for Fandom (version 2.17.0 build 525)

rozenlicht commented 2 months ago

We experience this issue regularly in our organisation. We use self-hosted server. Colleagues are seeing random images time-to-time as profile picture of other users.

wiggels commented 2 months ago

Glad to see I'm not the only one that has seen this! I have even seen a profile picture rendered as a random gif. Example: RPReplay_Final1714693016-1

larkox commented 1 month ago

@wiggels At what version did this start to happen?