parent
c31874c1f8
commit
963134b701
3 changed files with 6 additions and 3 deletions
|
|
@ -1008,7 +1008,10 @@ export default {
|
|||
this.roomUpgradeInfo = undefined;
|
||||
if (this.room.userMayUpgradeRoom(this.$matrix.currentUserId)) {
|
||||
this.room.getRecommendedVersion().then((info) => {
|
||||
this.roomUpgradeInfo = info;
|
||||
const thisVersion = this.room.getVersion();
|
||||
if (thisVersion != info.version) {
|
||||
this.roomUpgradeInfo = info;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue