mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Update src/components/views/rooms/RoomTile.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = createReactClass({
|
|||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
const joinRules = this.props.room.currentState.getStateEvents("m.room.join_rules", "");
|
const joinRules = this.props.room.currentState.getStateEvents("m.room.join_rules", "");
|
||||||
const joinRule = joinRules && joinRules.getContent() && joinRules.getContent().join_rule;
|
const joinRule = joinRules && joinRules.getContent().join_rule;
|
||||||
|
|
||||||
return ({
|
return ({
|
||||||
joinRule,
|
joinRule,
|
||||||
|
|||||||
Reference in New Issue
Block a user