Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Reply support #55

Open
ptman opened this issue Jul 11, 2018 · 1 comment
Open

Reply support #55

ptman opened this issue Jul 11, 2018 · 1 comment

Comments

@ptman
Copy link
Contributor

ptman commented Jul 11, 2018

Is this something gomatrix should provide? At least some

RelatesTo struct {
    InReplyTo struct {
        EventID string `json:"event_id"`
    } `json:"m.in_reply_to"`
} `json:"m.relates_to"`

members in the structs and maybe some GetHTMLMessage-style function to generate fallback-containing reply bodies?

@TheDiscordian
Copy link
Contributor

Related to: r0.6.0#m-room-message-msgtypes

I think the best solution is to figure out if/how we want to process formatted_body. I think it should be processed, but I have no idea how in a neat, universal, idiomatic way.

Otherwise because mx-reply is very unique, and has a very strict scope, it might be worth treating this as a special case. I'm happy to do a PR to support something similar to the proposed structure, but I'd like thoughts on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants