feat: Update device last active timestamp #1210
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/feat/session-activity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR updates the "device last active" timestamp when
/messages,/send,PUT /state,/redact,/typing, or either sync or sliding sync starts processing. For the sake of simplicity only endpoints that are typically hit quite frequently during normal usage will perform this update, I didn't bother adding it to the more exotic endpoints.feels like it should be factored into a function. also needs some kind of throttle I think?
How's that @Jade?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.