Skip to content

Conversation

@robintown
Copy link
Member

@robintown robintown commented May 22, 2025

I've revived the changes from #4662 that allow RoomWidgetClient to function even if the client into which it is embedded does not support the update_state action.

This seems useful for easing the transition outlined at https://github.com/element-hq/voip-internal/issues/289 with our upcoming Element Call release (for which we want to test some unrelated mobile changes, where mobile currently does not support update_state), so I propose we add this compatibility layer.

Copy link
Contributor

@toger5 toger5 left a comment

Choose a reason for hiding this comment

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

This is surprisingly straight forward.
Thanks Robin!

@toger5 toger5 marked this pull request as ready for review May 23, 2025 12:26
@toger5 toger5 requested a review from a team as a code owner May 23, 2025 12:26
@toger5 toger5 requested review from florianduros and t3chguy May 23, 2025 12:26
sendComplete: jest.fn(),
};

public constructor(clientVersions: ApiVersion[]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

tsdoc is welcomed :)

Copy link
Contributor

Choose a reason for hiding this comment

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

added one

@toger5 toger5 enabled auto-merge May 23, 2025 15:06
@toger5 toger5 added this pull request to the merge queue May 23, 2025
Merged via the queue into develop with commit bf6dc16 May 23, 2025
32 checks passed
@toger5 toger5 deleted the robin/embedded-no-update-state branch May 23, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants