Skip to content

Commit 4e7c1ed

Browse files
authored
Add a capability for receiving sticky events (#157)
In the future when we try to implement the active pushing of the sticky event map to the widget in clients, I believe we will want this to be gated behind a capability. By adding the capability now, we allow widgets to start requesting the capability already and benefit from the improved delivery guarantees of sticky events later for free.
1 parent 3e7d5fc commit 4e7c1ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/interfaces/Capabilities.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ export enum MatrixCapabilities {
5757
* @experimental It is not recommended to rely on this existing - it can be removed without notice.
5858
*/
5959
MSC4354SendStickyEvent = "org.matrix.msc4354.send_sticky_event",
60+
/**
61+
* @experimental It is not recommended to rely on this existing - it can be removed without notice.
62+
*/
63+
MSC4354ReceiveStickyEvent = "org.matrix.msc4354.receive_sticky_event",
6064
}
6165

6266
export type Capability = MatrixCapabilities | string;

0 commit comments

Comments
 (0)