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

Feature/msc2399 #1441

Merged
merged 15 commits into from
Jun 30, 2020
Merged

Feature/msc2399 #1441

merged 15 commits into from
Jun 30, 2020

Conversation

BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented Jun 3, 2020

Support for MSC 2399
matrix-org/matrix-spec-proposals#2399

  • Instead of not sending key to a specific device, we will now send a to device event of type org.matrix.room_key.withheld with a reason code (blacklisted, unverified, no olm (otk)..)
  • Added a new di module that allows to inject an http interceptor. This is used for test, it enables to catch and reply to specific requests:

 aliceInterceptor!!.addRule(MockOkHttpInterceptor.SimpleRule(
                "/keys/claim",
                200,
                """
                   { "one_time_keys" : {} } 
                """
        ))
  • includes some enhancement to SDK:

    • The shared session info is now persisted SharedSessionEntity, instead of only kept in memory
    • Events from the sync (exluding initial sync) are decypted on the fly (RoomSyncHandler#249)
  • Key withheld event will also be sent back when a key share request is received

Contains also a new lab setting, to change for error display

  • basic collapsing of consecutive UTD, with user friendly message

image

@BillCarsonFr BillCarsonFr marked this pull request as draft June 3, 2020 16:12
@BillCarsonFr BillCarsonFr force-pushed the feature/MSC2399 branch 2 times, most recently from 34b6b57 to 5531036 Compare June 26, 2020 08:23
@BillCarsonFr BillCarsonFr marked this pull request as ready for review June 26, 2020 12:51
@bmarty bmarty merged commit 6cb8242 into develop Jun 30, 2020
@bmarty bmarty deleted the feature/MSC2399 branch June 30, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants