You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Set isPeeking to false if peeking failed
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@ -283,6 +283,7 @@ module.exports = React.createClass({
|
|||||||
// This is fine: the room just isn't peekable (we assume).
|
// This is fine: the room just isn't peekable (we assume).
|
||||||
this.setState({
|
this.setState({
|
||||||
peekLoading: false,
|
peekLoading: false,
|
||||||
|
isPeeking: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
throw err;
|
throw err;
|
||||||
|
Reference in New Issue
Block a user