-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: template-msc
number for Reply
(not in thread
)?
#160
Comments
Here is a list of MSCs https://github.com/matrix-org/matrix-spec-proposals/tree/main/proposals The name summarizes what the MSC is roughly about: e.g. https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/2676-message-editing.md tells you that MSC 2676 is about message editing. Inside in the detailed description of an MSC you might find a JSON outline like this:
Does this help you a step further ? You can do searches: Go to: https://github.com/matrix-org/matrix-spec-proposals/tree/main/proposals In your example above, there was a JSON field: There is a search box on top right of page: enter search term there. Full search term is: "repo:matrix-org/matrix-spec-proposals m.relates_to" It gives you all the MSCs that have that field. This way you can narrow down which MSC exactly it is and what event you exactly want to create. Please keep us posted if this helps and what you found out. Cheers. Thanks for trying to contribute 🚀 👏 |
template-msc
number for Reply
(not in thread
)?template-msc
number for Reply
(not in thread
)?
In fact, according to Element desktop, it seems that my initial event source can be minimized to: {
"type": "m.room.message",
"content": {
"msgtype": "m.text",
"body": "ANSWER_MESSAGE",
"format": "org.matrix.custom.html",
"m.relates_to": {
"m.in_reply_to": {
"event_id": "$INITIAL_MESSAGE_ID"
}
}
}
} It is still unclear what grep -rwl 'in_reply_to' -m 1
Assuming that matrix-commander/tree/078da5f16c9b94893939ad19a21677f84a8625f9/event-templates are specific to a given |
I would like to contribute by adding a template for
Reply
(notin thread
), as suggested:matrix-commander/event-templates/README.md
Lines 21 to 23 in 79a5d0c
While I know how to get the correct JSON payload to send, I do not know how to get its
template-msc
number, even withmatrix-spec-proposals
.Example of such a payload according to Element desktop:
Giving me the correct
template-msc
number and explaining me how you found it would help me to contribute :)The text was updated successfully, but these errors were encountered: