You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Merge branch 'develop' into t3chguy/fix_forwarding
This commit is contained in:
@@ -137,6 +137,8 @@ class RoomViewStore extends Store {
|
||||
forwardingEvent: null,
|
||||
roomLoading: false,
|
||||
roomLoadError: null,
|
||||
// should peek by default
|
||||
shouldPeek: payload.should_peek === undefined ? true : payload.should_peek,
|
||||
};
|
||||
|
||||
// If an event ID wasn't specified, default to the one saved for this room
|
||||
@@ -297,6 +299,10 @@ class RoomViewStore extends Store {
|
||||
getForwardingEvent() {
|
||||
return this._state.forwardingEvent;
|
||||
}
|
||||
|
||||
shouldPeek() {
|
||||
return this._state.shouldPeek;
|
||||
}
|
||||
}
|
||||
|
||||
let singletonRoomViewStore = null;
|
||||
|
||||
Reference in New Issue
Block a user