Skip to content

Commit 75dfead

Browse files
committed
simplify and make receive client bahviour more explicit
1 parent e5184f8 commit 75dfead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/4407-sticky-events-widget-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Two new capabilities will be introduced:
4444

4545
### Widget Client Implementation
4646

47-
This has the following behavioral impact on the widget client implementation:
47+
If a widget is granted the `m.receive.sticky_event` capability, the host client must do the following:
4848
- On widget startup, the client will send all sticky events that the widget is allowed to see.
49-
- After capability re-negotiation, when the widget is granted `m.receive.sticky_event`, the client will send all currently sticky events that the widget is allowed to see.
49+
- After capability re-negotiation, when the widget is now granted `m.receive.sticky_event` and was not before, the client will send all currently sticky events that the widget is allowed to see.
5050

5151
If the capability `m.send.sticky_event` is granted and the client receives a send event with `sticky_duration_ms` set, the client must send a sticky event
5252
as described in [MSC4354](https://github.com/matrix-org/matrix-spec-proposals/pull/4354), using the `sticky_duration_ms`.

0 commit comments

Comments
 (0)