mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix group dialog not showing when user is traveling (#903)
When viewing a profile of a user that is traveling to a group instance clicking the group name will not open the group dialog.
This commit is contained in:
@@ -991,10 +991,14 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
showGroupDialog() {
|
showGroupDialog() {
|
||||||
if (!this.location || !this.link) {
|
var location = this.location;
|
||||||
|
if (this.isTraveling) {
|
||||||
|
location = this.traveling;
|
||||||
|
}
|
||||||
|
if (!location || !this.link) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var L = API.parseLocation(this.location);
|
var L = API.parseLocation(location);
|
||||||
if (!L.groupId) {
|
if (!L.groupId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user