Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Adapt for js-sdk MatrixClient conversion to TS #6132

Merged
merged 3 commits into from
Jun 4, 2021
Merged

Conversation

turt2live
Copy link
Member

@turt2live turt2live marked this pull request as ready for review June 3, 2021 00:56
@turt2live turt2live requested a review from a team June 3, 2021 00:57
@jryans jryans requested review from jryans and removed request for a team June 3, 2021 16:39
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks again for taking on this huge task! 😄

@@ -98,7 +98,7 @@ class Presence {
}

try {
await MatrixClientPeg.get().setPresence(this.state);
await MatrixClientPeg.get().setPresence({presence: this.state});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, an actual bug fix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apaprently we migrated to an object long ago and maintained this signature, but the types don't like it so I fixed it :P

I suspect it's net zero for bugs, unfortunately.

@turt2live turt2live merged commit 12e0135 into develop Jun 4, 2021
@turt2live turt2live deleted the travis/ts-mtxcli branch June 4, 2021 06:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants