Merge pull request #3065 from matrix-org/travis/fix-logout
Don't refresh custom status on logoutpull/21833/head
commit
85858c731c
|
@ -91,6 +91,8 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
_getStatusMessageUser() {
|
||||
if (!MatrixClientPeg.get()) return null; // We've probably been logged out
|
||||
|
||||
const selfId = MatrixClientPeg.get().getUserId();
|
||||
const otherMember = this.props.room.currentState.getMembersExcept([selfId])[0];
|
||||
if (!otherMember) {
|
||||
|
|
Loading…
Reference in New Issue