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

Work with read receipts #267

Open
non-Jedi opened this issue Aug 6, 2018 · 3 comments
Open

Work with read receipts #267

non-Jedi opened this issue Aug 6, 2018 · 3 comments

Comments

@non-Jedi
Copy link
Collaborator

non-Jedi commented Aug 6, 2018

See https://matrix.org/docs/spec/client_server/r0.3.0.html#id57 for documentation. Consider implementing so that doing anything with a particular event automatically marks it as read (would only be desirable for bots, so implementation would have to account for that somehow).

@abhishekkumar2718
Copy link
Contributor

I want to implement this but I cannot think of actions done by bot which will send read receipt automatically. Instead I think we should leave it to the bot to send read receipt ? So the bot workflow would be:

  1. Listen to events.
  2. Iterate through new events.
  3. Process new events.
  4. Send read receipt at the end of new events.

@abhishekkumar2718
Copy link
Contributor

I think any such function should be added to room object, as it is read-reciept are room specific. Suggestions ?

@cy8aer
Copy link

cy8aer commented Mar 16, 2019

I do not need it as an automatic mechanism but a manual thing: When you have a real interactive client you need to make a receipt explicitely when you see the room (and in addition when a new event occurs and I am in the room). This situation is not transparent for the library. So it needs a callable function for this.

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

No branches or pull requests

3 participants