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

Unread messages #161

Open
delijati opened this issue Nov 2, 2017 · 2 comments
Open

Unread messages #161

delijati opened this issue Nov 2, 2017 · 2 comments

Comments

@delijati
Copy link
Contributor

delijati commented Nov 2, 2017

As it seams the client has to implement that functionality. I found this code in the js react sdk [1] and getEventReadUpTo from js sdk [2] and [3]. Al lot of code for just a "simple" unread :/

[1] https://github.com/matrix-org/matrix-react-sdk/blob/f58d89ef802f28bbab851fe63c3e6ff332394a5d/src/Unread.js#L41
[2] https://github.com/matrix-org/matrix-js-sdk/blob/7d5c107fb814908f1fbf205d01d9e93a1209cdf0/src/models/room.js#L974
[3] https://github.com/matrix-org/matrix-react-sdk/blob/3581f6edaa52d20c28a4fa9c6d7ead6e0eafce18/src/shouldHideEvent.js#L37

@delijati
Copy link
Contributor Author

delijati commented Nov 2, 2017

My attempt to fix it [1] ... Not working quite yet :/
[1] https://github.com/delijati/sparse-qml/blob/master/lib/py/matrix_client/client.py#L493

@delijati
Copy link
Contributor Author

delijati commented Nov 3, 2017

More info from synpase

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

2 participants