libQuotient icon indicating copy to clipboard operation
libQuotient copied to clipboard

Support m.in_reply_to

Open KitsuneRal opened this issue 6 years ago • 3 comments

It should be as easy as passing an optional eventid to Room::post* methods; adding necessary parts to the message text should probably be left up to clients.

KitsuneRal avatar Sep 17 '18 03:09 KitsuneRal

Turned out that the spec defines (with MUST) exactly how replies should be constructed and parsed. Full implementation of that is not easy so moves to ~~0.6~~0.7. Clients still can use postJson() and (as of 2213080a13a4eb472c8ac2267efcebc6f0936eb1) postMessage() to attach non-compliant (=without fallbacks) m.relates_to blocks.

KitsuneRal avatar Feb 25 '19 04:02 KitsuneRal

(Thread awareness) Sorry if this is the wrong place to report. The reply implementation could be compatible with threads from the start. When a client implements replies, but not MSC3440 threads, compatibility with clients that support threads is obtained by adding the fields that are documented in MSC3440's Sending m.thread before fully implementing threads.

opk12 avatar May 31 '22 10:05 opk12

That's the right place :) yes, that's pretty much the intention.

KitsuneRal avatar Jun 11 '22 13:06 KitsuneRal