matrix-org / matrix-org/matrix-python-sdk
Unread messages
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 266
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Unread.js, room.js getEventReadUpTo, and shouldHideEvent.js references to understand the proposed unread-message behavior. Then identify the corresponding Python SDK surface and define what unread state the client should expose; completion is not specified by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100