diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index d2d46c32..20ba8034 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -104,6 +104,10 @@ export class RoomViewModel extends ViewModel { get timelineViewModel() { return this._timelineVM; } get isEncrypted() { return this._room.isEncrypted; } + get roomDetailsLink() { + return this.urlCreator.urlForSegment("details"); + } + get error() { if (this._timelineError) { return `Something went wrong loading the timeline: ${this._timelineError.message}`; @@ -383,4 +387,4 @@ class ArchivedViewModel extends ViewModel { get kind() { return "archived"; } -} \ No newline at end of file +}