feat(sync): Add MSC4508 typing extension #2101
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
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/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!2101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "eleboucher/continuwuity:feat/msc4508-typing-extension"
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 pull request adds support for MSC4508: Sliding Sync Extensions: Common format and Typing.
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
a4ec7c4ce05a2a66db0bI could swear I already did this 🤔
@Jade wrote in #2101 (comment):
yeah it was somewhat done but not correctly scope to the room and the space
Oh yeah, that was the reason I delayed merging it lol. Looks good, anyway
5a2a66db0b1a9f6428c6@ -393,3 +400,3 @@services.users.remove_to_device_events(sender_user, sender_device, globalsince).remove_to_device_events(sender_user, sender_device, pos)if I'm following these changes right, doesn't this now delete all to-device events up until the end of the sync response, rather than the start?
yes you are right, i mixed up somehow in my head pos and globalsince
1a9f6428c66d0a97720a6d0a97720ad6e6f0bcae@ -1269,6 +1263,43 @@ async fn collect_typing_events(Ok(typing_response)}fn typing_scope(Only thing I would say is this code seems pretty generic, it should probably just have
body.extensions.typingpassed from outside the function so it can be reused for other extensionsd6e6f0bcae83c32f7dea83c32f7dea5e52e76b315e52e76b313ed9673cad