mirror of https://github.com/vector-im/riot-web
Set isPeeking to false if peeking failed
Signed-off-by: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
6ce7eb952a
commit
f1032bb115
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue