matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
279 stars 41 forks source link

Matterbridge is unable to fetch any media from pantalaimon #165

Open Kimapr opened 1 month ago

Kimapr commented 1 month ago

Pantalaimon version: 0.10.5 Matterbridge version: 1.26.0 6dafebc

I'm using matterbridge to bridge an encrypted matrix room to a private IRC room, with pantalaimon in between the matrix homeserver and matterbridge. The bridge is able to transfer text messages back and forth just fine, but whenever someone sends a media file on the matrix side, the IRC side receives a broken file from matterbridge's mediaserver with this content:

{"errcode":"M_UNKNOWN","error":"invalid server ID","mr_errcode":"M_BAD_REQUEST"}

instead of expected content. This only happens with encrypted media, plaintext media is successfully transferred over to the IRC side.