Add missing JumpToOldestUnread action
parent
601be50b71
commit
ef7284e69d
|
@ -70,6 +70,8 @@ export enum RoomAction {
|
||||||
RoomScrollDown = 'RoomScrollDown',
|
RoomScrollDown = 'RoomScrollDown',
|
||||||
/** Dismiss read marker and jump to bottom */
|
/** Dismiss read marker and jump to bottom */
|
||||||
DismissReadMarker = 'DismissReadMarker',
|
DismissReadMarker = 'DismissReadMarker',
|
||||||
|
/** Jump to oldest unread message */
|
||||||
|
JumpToOldestUnread = 'JumpToOldestUnread',
|
||||||
/* Upload a file */
|
/* Upload a file */
|
||||||
UploadFile = 'UploadFile',
|
UploadFile = 'UploadFile',
|
||||||
/* Focus search message in a room (must be enabled) */
|
/* Focus search message in a room (must be enabled) */
|
||||||
|
|
|
@ -668,7 +668,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||||
this.jumpToLiveTimeline();
|
this.jumpToLiveTimeline();
|
||||||
handled = true;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
case RoomAction.ScrollUp:
|
case RoomAction.JumpToOldestUnread:
|
||||||
this.jumpToReadMarker();
|
this.jumpToReadMarker();
|
||||||
handled = true;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue