mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
add request invite
This commit is contained in:
@@ -6221,6 +6221,19 @@ CefSharp.BindObjectAsync(
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (command === 'Request Invite') {
|
||||
API.sendNotification({
|
||||
receiverUserId: D.id,
|
||||
type: 'requestInvite',
|
||||
message: '',
|
||||
seen: false,
|
||||
details: {
|
||||
platform: 'standalonewindows'
|
||||
}
|
||||
}).then((args) => {
|
||||
this.$message('Request invite sent');
|
||||
return args;
|
||||
});
|
||||
} else if (command === 'Show Avatar Author') {
|
||||
var { currentAvatarImageUrl } = D.ref;
|
||||
var id = extractFileId(currentAvatarImageUrl);
|
||||
|
||||
@@ -660,6 +660,7 @@ html
|
||||
el-dropdown-item(icon="el-icon-switch-button" command="Logout" divided) Logout
|
||||
template(v-else)
|
||||
template(v-if="userDialog.isFriend")
|
||||
el-dropdown-item(icon="el-icon-postcard" command="Request Invite") Request Invite
|
||||
//- el-dropdown-item(icon="el-icon-message" command="Message") Message
|
||||
template(v-else-if="userDialog.incomingRequest")
|
||||
el-dropdown-item(icon="el-icon-check" command="Accept Friend Request") Accept Friend Request
|
||||
|
||||
Reference in New Issue
Block a user