-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Update StopGapWidgetDriver to support sticky events #31205
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
base: develop
Are you sure you want to change the base?
Conversation
55553b9 to
5d31419
Compare
5d31419 to
2628427
Compare
| // 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); |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Other half of matrix-org/matrix-widget-api#152
Checklist
public/exportedsymbols have accurate TSDoc documentation.