mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
create room url in room tile
This commit is contained in:
parent
221b94adbf
commit
b373a177ec
@ -31,6 +31,7 @@ export class RoomTileViewModel extends ViewModel {
|
||||
this._isOpen = false;
|
||||
this._wasUnreadWhenOpening = false;
|
||||
this._hidden = false;
|
||||
this._url = this.urlRouter.urlForSegment("room", this._room.id);
|
||||
}
|
||||
|
||||
get hidden() {
|
||||
@ -61,6 +62,10 @@ export class RoomTileViewModel extends ViewModel {
|
||||
}
|
||||
}
|
||||
|
||||
get url() {
|
||||
return this._url;
|
||||
}
|
||||
|
||||
compare(other) {
|
||||
/*
|
||||
put unread rooms first
|
||||
|
Loading…
Reference in New Issue
Block a user