Skip to content

Make getClientVersions public#74

Merged
robintown merged 1 commit into
matrix-org:masterfrom
nordeck:nic/feat/getClientVersions
Jan 26, 2023
Merged

Make getClientVersions public#74
robintown merged 1 commit into
matrix-org:masterfrom
nordeck:nic/feat/getClientVersions

Conversation

@Fox32
Copy link
Copy Markdown
Contributor

@Fox32 Fox32 commented Oct 4, 2022

This makes the getClientVersions function on WidgetApi public and tests it.

It is quite useful that the versions are exchanged between client and widget, so that the widget knows which capabilities the client has. But up to now, a widget can not access these details. We recently add #72 which evolves the API, but for now there is no way to detect whether it is really supported before running into errors. We would prefer to make a check and notify the user that he has to update to a newer Element version.

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
@Fox32 Fox32 requested a review from a team as a code owner October 4, 2022 07:48
@Fox32 Fox32 requested review from duxovni, florianduros and justjanne and removed request for a team October 4, 2022 07:48
@Fox32
Copy link
Copy Markdown
Contributor Author

Fox32 commented Jan 26, 2023

@florianduros @justjanne Anyone time for a review?

Copy link
Copy Markdown

@florianduros florianduros left a comment

Choose a reason for hiding this comment

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

Oh yes.

I'm sorry for the delay. I though that the Faye's review was enough.

@robintown robintown merged commit 1f378c7 into matrix-org:master Jan 26, 2023
@dhenneke dhenneke deleted the nic/feat/getClientVersions branch March 23, 2023 12:26
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.

4 participants