Closed matrixbot closed 2 weeks ago
This comment was originally posted by @S7evinK at https://github.com/matrix-org/dendrite/issues/3179#issuecomment-1693722494.
Closing, as this is not an issue with Dendrite. There is no "remote" we could re-download the avatars from, nor do we have a way to signal the bridge that we've "lost" the avatar so it can be uploaded again.
For others having the same issue - forcing the bridge to re-upload the avatars seems to work - https://github.com/mautrix/whatsapp/issues/644#issuecomment-1678937057
This issue was originally created by @Xinayder at https://github.com/matrix-org/dendrite/issues/3179.
Background information
go version
: 1.20.2Description
Steps to reproduce
I run a local Matrix instance using Dendrite and I host a few Mautrix bridges for Instagram, Messenger and WhatsApp. If I understood correctly, the profiles are created locally on the homeserver, but after deleting the media folder, the avatars are not found, which is expected. However, even after deleting the mediaapi table, the avatars are still pointing to files that no longer exist.
The only way avatars get updated is if the social media profile updates their avatar on the respective social media.
Dendrite should try to redownload the avatars if they point to nonexistent media files.