mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +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) {
|
D.loading === true) {
|
||||||
return;
|
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;
|
D.loading = true;
|
||||||
var params = {
|
var params = {
|
||||||
receiverUserId: '',
|
receiverUserId: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user