Fix more lint errors

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2018-10-11 22:50:18 -05:00
parent a66dbccef8
commit 9f1b1d2028
No known key found for this signature in database
GPG key ID: 37419210002890EF
5 changed files with 22 additions and 22 deletions

View file

@ -777,7 +777,7 @@ module.exports = withMatrixClient(React.createClass({
const myMembership = room.getMyMembership();
// not a DM room if we have are not joined
if (myMembership !== 'join') continue;
const them = this.props.member;
// not a DM room if they are not joined
if (!them.membership || them.membership !== 'join') continue;