Skip to content

Update StopGapWidgetDriver to support sticky events#31205

Merged
Half-Shot merged 8 commits intodevelopfrom
hs/sticky-events
Dec 29, 2025
Merged

Update StopGapWidgetDriver to support sticky events#31205
Half-Shot merged 8 commits intodevelopfrom
hs/sticky-events

Conversation

@Half-Shot
Copy link
Member

Other half of matrix-org/matrix-widget-api#152

Checklist

// TODO: Update the widget API to use a proper IToDeviceMessage instead of a IRoomEvent
await this.messaging?.feedToDevice(message as IRoomEvent, encryptionInfo != null);
private onToDeviceMessage = async ({ message, encryptionInfo }: ReceivedToDeviceMessage): Promise<void> => {
await this.messaging?.feedToDevice(message, encryptionInfo != null);
Copy link
Member Author

Choose a reason for hiding this comment

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

Drive-by update since we fixed the types upstream in the latest release.

* @experimental Part of MSC4354
* @see {@link WidgetDriver#sendStickyEvent}
*/
public async sendDelayedStickyEvent(
Copy link
Member

Choose a reason for hiding this comment

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

we need more parameters :p

Copy link
Member Author

Choose a reason for hiding this comment

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

it's awful yes :D.

Merged via the queue into develop with commit 004dbcd Dec 29, 2025
36 checks passed
@Half-Shot Half-Shot deleted the hs/sticky-events branch December 29, 2025 13:54
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.

2 participants