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

Distinguish room state and timeline events in embedded clients #4574

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

robintown
Copy link
Member

@robintown robintown commented Dec 6, 2024

This change enables room widget clients to take advantage of the more reliable method of communicating room state over the widget API provided by this update to MSC2762.

Depends on matrix-org/matrix-widget-api#116

This change enables room widget clients to take advantage of the more reliable method of communicating room state over the widget API provided by a recent update to MSC2762.
@robintown robintown marked this pull request as ready for review December 17, 2024 21:31
@robintown robintown requested a review from a team as a code owner December 17, 2024 21:31
@robintown robintown requested review from dbkr and t3chguy December 17, 2024 21:31
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.

I approve this already. Can you still explain me why we don't need the await (or add it in case we need it)

// ```
await this.syncApi!.injectRoomEvents(this.room!, [], [event]); // Sliding Sync
// Sliding Sync
this.syncApi!.injectRoomEvents(this.room!, [], [event]);
Copy link
Contributor

Choose a reason for hiding this comment

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

is injectRoomEvents not async anymore?
why can we drop the await?

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