mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
don't send an invitation to yourself when busy status
This commit is contained in:
@@ -6598,6 +6598,14 @@ CefSharp.BindObjectAsync(
|
||||
D.loading === true) {
|
||||
return;
|
||||
}
|
||||
if (this.API.currentUser.status === 'busy' &&
|
||||
D.userIds.includes(this.API.currentUser.id) === true) {
|
||||
this.$message({
|
||||
message: 'You can\'t invite yourself in \'Do Not Disturb\' mode',
|
||||
type: 'error'
|
||||
});
|
||||
return;
|
||||
}
|
||||
D.loading = true;
|
||||
var params = {
|
||||
receiverUserId: '',
|
||||
|
||||
Reference in New Issue
Block a user