matrix-org / matrix-bifrost

General purpose bridging with a variety of backends including libpurple and xmpp.js
Apache License 2.0
164 stars 31 forks source link

Support threading with XEP-201 #193

Open Half-Shot opened 4 years ago

Half-Shot commented 4 years ago

https://xmpp.org/extensions/xep-0201.html

For XMPP -> Matrix we should track the original event mapping, and then send as normal.

For Matrix -> XMPP, we should construct a thread_id based off the original message and send as normal.

This may potentially be changed if https://github.com/matrix-org/matrix-doc/pull/2836 becomes a thing.