Show room version number in room settings

Also change wording of the Room ID bit to match

Requires https://github.com/matrix-org/matrix-js-sdk/pull/689
For https://github.com/vector-im/riot-web/issues/7164
This commit is contained in:
David Baker 2018-08-14 14:28:30 +01:00
parent d58dc23f7c
commit f20920718a
2 changed files with 4 additions and 2 deletions

View file

@ -1039,7 +1039,8 @@ module.exports = React.createClass({
<h3>{ _t('Advanced') }</h3>
<div className="mx_RoomSettings_settings">
{ _t('This room\'s internal ID is') } <code>{ this.props.room.roomId }</code>
{ _t('Internal room ID: ') } <code>{ this.props.room.roomId }</code><br />
{ _t('Room version number: ') } <code>{ this.props.room.getVersion() }</code>
</div>
</div>
);