diff --git a/app/views/RoomInfoView/index.js b/app/views/RoomInfoView/index.js index abe495a5e..94ec8ad9e 100644 --- a/app/views/RoomInfoView/index.js +++ b/app/views/RoomInfoView/index.js @@ -21,6 +21,7 @@ import { themes } from '../../constants/colors'; import { withTheme } from '../../theme'; import { themedHeader } from '../../utils/navigation'; import { getUserSelector } from '../../selectors/login'; +import Markdown from '../../containers/markdown'; const PERMISSION_EDIT_ROOM = 'edit-room'; const camelize = str => str.replace(/^(.)/, (match, chr) => chr.toUpperCase()); @@ -172,12 +173,12 @@ class RoomInfoView extends React.Component { const { theme } = this.props; return ( - {I18n.t(camelize(key))} - { room[key] ? room[key] : I18n.t(`No_${ key }_provided`) } - + {I18n.t(camelize(key))} + ); }