Skip to content
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

Feature Request: Read/Deliver Receipts To/From Matrix #147

Open
marinnamru opened this issue Aug 2, 2023 · 1 comment
Open

Feature Request: Read/Deliver Receipts To/From Matrix #147

marinnamru opened this issue Aug 2, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@marinnamru
Copy link

This is a feature request for the ability to send/receive read/deliver receipts to/from Matrix.

@8go 8go added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 10, 2023
@8go
Copy link
Owner

8go commented Oct 10, 2023

Please explain in more detail how this would work, what arguments you provide as input, what information would come back in the reply. How many actions are this?

  • get read receipt # get event-id of the last event that was marked read?
  • set to fully read # mark everything as read in this room? in this thread?
  • what else?

I think one can do this in matrix-commander by using --event and an event-template. See https://github.com/8go/matrix-commander/tree/master/event-templates.

What is the MSC or what are the MSCs?

What does the event for e.g. get read-recept look like, in JSON?

Here is an example event for add reaction

{
  "__comment__": "event template for MSC2677, annotations and reactions",
  "__documentation__": "see https://github.com/uhoreg/matrix-doc/blob/aggregations-reactions/proposals/2677-reactions.md and https://github.com/matrix-org/matrix-spec-proposals/pull/2677",
  "type": "m.reaction",
  "content": {
    "m.relates_to": {
      "rel_type": "m.annotation",
      "event_id": "%s",
      "key": "%s"
    }
  }
}

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants