mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix and improve auto accept invite requests (#999)
This commit is contained in:
@@ -7376,7 +7376,7 @@ speechSynthesis.getVoices();
|
|||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!$utils.checkCanInvite(currentLocation)) {
|
if (!$app.checkCanInvite(currentLocation)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7395,6 +7395,9 @@ speechSynthesis.getVoices();
|
|||||||
)
|
)
|
||||||
.then((_args) => {
|
.then((_args) => {
|
||||||
$app.$message(`Auto invite sent to ${ref.senderUsername}`);
|
$app.$message(`Auto invite sent to ${ref.senderUsername}`);
|
||||||
|
API.hideNotification({
|
||||||
|
notificationId: ref.id
|
||||||
|
});
|
||||||
return _args;
|
return _args;
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user