matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
292 stars 42 forks source link

Forwarding Messages on encrypted channels doesn't work #66

Open SGSSGene opened 4 years ago

SGSSGene commented 4 years ago

Hi, I have setup pantalaimon in combination with matrix-poll-bot. This works for unencrypted channels without issue. But on enrcypted channels forwarding from pantalaimon to matrix-poll-bot gets stuck. Pantalaimon shows the message:

[2020-08-21 10:37:46.009047] WARNING: pantalaimon: Encrypted event is not a megolm event:
{'event_id': '$MjDQK5jg_UTWY5XKIYapIfnto_MeLsdY-bk0KG5rZ98',
 'sender': '@me:myserver.org',
 'type': 'm.room.encrypted'}

The message from @me:myserver.org was send by element desktop app, I also tried element android app, but same result. Any clue of what I am doing wrong?

poljar commented 4 years ago

What does forwarding here exactly mean? How does a forwarded event look like?

sepo83 commented 3 years ago

In have the same problem. Forwarding in this case means:

Further information:

EDIT: In the end for me the solution was quite simple... RTFM :sunglasses:

Add/Modify the following line in config.yaml of the matrix-poll-bot: skip_filter: true