mautrix / meta

A Matrix-Facebook Messenger and Instagram DM puppeting bridge.
GNU Affero General Public License v3.0
155 stars 11 forks source link

Profile picture is reset multiple times in group chats #67

Closed Elbullazul closed 2 months ago

Elbullazul commented 3 months ago

Here's an example: image

In this case, my bridged Facebook user is having their profile picture randomly reset, with no action on my part.

I think these log entries are relevant:

2024-05-28T22:19:35Z DBG client.go:318:LogRequestDone() > Request completed default_context_log=true duration=2.679274 function=Puppet.UpdateInfo method=GET req_id=7 response_length=62 response_mime=application/json status_code=200 url=http://synapse:8008/_matrix/client/v3/profile/@facebook_100002286661653:matrix.domain/avatar_url?user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286674348
2024-05-28T22:19:48Z DBG client.go:318:LogRequestDone() > Request completed default_context_log=true duration=13553.722913 function=Puppet.UpdateInfo method=PUT req_body={"avatar_url":""} req_id=8 response_length=2 response_mime=application/json status_code=200 url=http://synapse:8008/_matrix/client/v3/profile/@facebook_100002286661653:matrix.domain/avatar_url?user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286661653
2024-05-28T22:19:51Z DBG Request completed action="handle table" duration=697.974612 function=Puppet.UpdateInfo method=POST req_body="<2863 bytes>" req_id=9 response_length=63 response_mime=application/json status_code=200 url=http://synapse:8008/_matrix/media/v3/upload?user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286661653
2024-05-28T22:19:51Z DBG Request completed action="handle table" duration=1.668988 function=Puppet.UpdateInfo method=GET req_id=10 response_length=2 response_mime=application/json status_code=200 url=http://synapse:8008/_matrix/client/v3/profile/@facebook_100002286661653:matrix.domain/avatar_url?user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286661653
2024-05-28T22:19:51Z DBG Request completed action="handle table" duration=1.816807 function=Puppet.UpdateInfo method=GET response_length=2863 response_mime=image/jpeg status_code=200 url=http://synapse:8008/_matrix/media/v3/download/matrix.domain/dARCYxGWEGLeCnQYvLrtgqcq?allow_redirect=true&user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286661653
2024-05-28T22:19:54Z DBG Request completed action="handle table" duration=3328.435136 function=Puppet.UpdateInfo method=PUT req_body={"avatar_url":"mxc://matrix.domain/dARCYxGWEGLeCnQYvLrtgqcq"} req_id=11 response_length=2 response_mime=application/json status_code=200 url=http://synapse:8008/_matrix/client/v3/profile/@facebook_100002286661653:matrix.domain/avatar_url?user_id=%40facebook_100002286661653%3Amatrix.domain user_id=100002286661653
christheradioguy commented 3 months ago

Same issue for me, was actually just preparing to open an issue. It's actually quite annoying since in low volume chats it occurs often enough to cause the last messages to scroll off the screen. This only occurs for my own user, other users in the group chat's do not seem to generate the issue.

This is what it looks like in Element: Screenshot from 2024-05-30 19-04-35