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