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

Merge changes from develop #2563

Merged
merged 15 commits into from
Aug 4, 2022

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Aug 4, 2022

This merges the latest changes from develop again. This is as simple a merge as possible: I've not introduced any other changes at this stage.

Reintroduces the setNewStream method which was removed
in #2551 (I think it makes
sense as a convenient way to re-use the feed wrapper object but switch out
the feed? Comment updated appropriately.)


This change is marked as an internal change (Task), so will not be included in the changelog.

RiotRobot and others added 14 commits July 26, 2022 17:22
Sliding sync: add missing filters from latest MSC
* Retry to-device messages

This adds a queueToDevice API alongside sendToDevice which is a
much higher-level API that adds the messages to a queue, stored in
persistent storage, and retries them periodically. Also converts
sending of megolm keys to use the new API.

Other uses of sendToDevice are nopt converted in this PR, but could
be later.

Requires matrix-org/matrix-mock-request#17

* Bump matrix-mock-request

* Add more waits to make indexeddb tests pass

* Switch some test expectations to queueToDevice

* Stop straight away if the client has been stopped

Hopefully will fix tests being flakey and logging after tests have
finished.

* Add return types & fix constant usage

* Fix return type

Co-authored-by: Germain <germains@element.io>

* Fix return type

Co-authored-by: Germain <germains@element.io>

* Fix return type

Co-authored-by: Germain <germains@element.io>

* Stop the client in all test cases

Co-authored-by: Germain <germains@element.io>
)

* Add support for sending user-defined encrypted to-device messages

This is a port of the same change from the robertlong/group-call branch.

* Fix tests

* Expose the method in MatrixClient

* Fix a code smell

* Fix types

* Test the MatrixClient method

* Fix some types in Crypto test suite

* Test the Crypto method

* Fix tests

* Upgrade matrix-mock-request

* Move useRealTimers to afterEach
Nontrivial merge: reintroduces the setNewStream method which was removed
in #2551 (I think it makes
sense as a convenient way to re-use the feed wrapper object but switch out
the feed? Comment updated appropriately.)
@dbkr dbkr requested a review from a team as a code owner August 4, 2022 13:59
@dbkr dbkr added the T-Task Tasks for the team like planning label Aug 4, 2022
@dbkr dbkr merged commit 2cc51e0 into robertlong/group-call Aug 4, 2022
@dbkr dbkr deleted the dbkr/group-call-merge-develop-20220804 branch August 4, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants