Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d55d61e

Browse files
author
Luke Barnard
committed
Remove redundant isUserJoined
1 parent b90ceaa commit d55d61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/RoomView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ module.exports = React.createClass({
258258
}
259259
}).done();
260260
}
261-
} else if (isUserJoined) {
261+
} else {
262262
MatrixClientPeg.get().stopPeeking();
263263
this.setState({
264264
unsentMessageError: this._getUnsentMessageError(room),

0 commit comments

Comments
 (0)