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