Sorunome / mx-puppet-bridge

Puppeting library for matrix
Apache License 2.0
95 stars 29 forks source link

[FR] Threading with MSC2836 #84

Open LecrisUT opened 3 years ago

LecrisUT commented 3 years ago

Relevant for Slack bridge.

ptman commented 3 years ago

Option for sendReply()? Or sendThread()? https://github.com/Sorunome/mx-puppet-bridge/blob/b85e37f6e7f4848442aa5901d7df869bf33fa3db/src/remoteeventhandler.ts#L265

"rel_type": "io.element.thread" seems to be the magic trick

ptman commented 3 years ago

Ah, it will probably become m.thread when finished: https://github.com/matrix-org/matrix-doc/blob/gsouquet/threading-via-relations/proposals/3440-threading-via-relations.md

stites commented 2 years ago

image I took 30m this morning to hack together some garbage that looks like:

I don't write typescript but the current functionality will create, and continue to keep replies in, a thread from element app. Unfortunately, it will not create threads that are created by the slack puppet.

It turns out that this is the default behavior, and my patches didn't change anything. So I am wondering how to change the above diffs to get the desired functionality.