Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ export interface RoomListStoreApi {

// @alpha
export interface RoomViewProps {
enableReadReceiptsAndMarkersOnActivity?: boolean;
hideComposer?: boolean;
hideHeader?: boolean;
hidePinnedMessageBanner?: boolean;
Expand Down
6 changes: 6 additions & 0 deletions packages/element-web-module-api/src/api/builtins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ export interface RoomViewProps {
* If true, the widgets will be hidden.
*/
hideWidgets?: boolean;
/**
* If true, enable sending read receipts and markers on user activity in the room view. When the user interacts with the room view, read receipts and markers are sent.
* If false, the read receipts and markers are only send when the room view is focused. The user has to focus the room view in order to clear any unreads and to move the unread marker to the bottom of the view.
* @defaultValue true
*/
enableReadReceiptsAndMarkersOnActivity?: boolean;
}

/**
Expand Down