8go / 8go/matrix-commander

Question: `template-msc` number for `Reply` (not `in thread`)?

Offen
#160 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
Python
Sterne
754
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I would like to contribute by adding a template for `Reply` (not `in thread`), as suggested:

https://github.com/8go/matrix-commander/blob/79a5d0c2db9b3c49de0d0538affbe07f1a266f84/event-templates/README.md?plain=1#L21-L23

While I know how to get the correct JSON payload to send, I do not know how to get its `template-msc` number, even with [`matrix-spec-proposals`](https://github.com/matrix-org/matrix-spec-proposals/tree/cf3f0d58be2298f5022901c389e59d462c8d8796/proposals).

Example of such a payload according to Element desktop:

```json
{
"type": "m.room.message",
"content": {
"msgtype": "m.text",
"body": "> <@benjamin_loison:matrix.org> INITIAL_MESSAGE\n\nANSWER_MESSAGE",
"format": "org.matrix.custom.html",
"formatted_body": "

In reply to @benjamin_loison:matrix.org
INITIAL_MESSAGE
nANSWER_MESSAGE",
"m.relates_to": {
"m.in_reply_to": {
"event_id": "$CENSORED_1"
}
}
}
}
```

Giving me the correct `template-msc` number and explaining me how you found it would help me to contribute :)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at existing templates in event-templates/ to understand the format and how template-msc numbers are assigned. Check the matrix-spec-proposals repository for proposals related to replies (like MSC2675 or similar). The issue asks for the correct MSC number for a reply template; you need to research the Matrix spec to find the relevant proposal number and then create a new template file following the existing pattern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.