tigase / beagle-im

(M) XMPP client for macOS based on TigaseSwift XMPP library
GNU General Public License v3.0
182 stars 21 forks source link

Own avatar appears for other contacts and MUCs #36

Closed ghost closed 3 years ago

ghost commented 4 years ago

After uploading my avatar pic it happens from time to time that the same pic does appear as the avatar for other people as well as for MUCs:

Bildschirmfoto 2020-07-05 um 16 38 01 Bildschirmfoto 2020-07-05 um 16 38 32

My impression is that this happens mostly when adding a new contact or MUC that has no own avatar pic uploaded, but not every time. So I guess it's hard to track this issue down...

woj-tek commented 4 years ago

Thank you, we will look into it.

beagleim-258

hantu85 commented 4 years ago

I've not found anything in the logs, but I was able to track the possible issue to the case when your client would receive <presence/> of type error, ie. if remote entity sends it back (ie. with service-unavailable). That would store a wrong entry in the database and would not be updated as remote entity does not have an avatar set.

Fix will be released in the next build, however, it will not be able to fix entries in the database and dropping all info about avatars is not a good idea for most of the users.

ghost commented 4 years ago

So, I guess the "fix" for existing issues would be to change avatar pics back and forth, right?