mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
Group Dialog 5
This commit is contained in:
@@ -14398,7 +14398,7 @@ speechSynthesis.getVoices();
|
||||
isMaster = true;
|
||||
}
|
||||
var lobbyJointime = $app.photonLobbyJointime.get(photonId);
|
||||
var inVRMode = false;
|
||||
var inVRMode = null;
|
||||
var groupOnNameplate = '';
|
||||
if (typeof lobbyJointime !== 'undefined') {
|
||||
inVRMode = lobbyJointime.inVRMode;
|
||||
@@ -23223,6 +23223,9 @@ speechSynthesis.getVoices();
|
||||
offset: 0,
|
||||
groupId: this.groupDialog.id
|
||||
};
|
||||
if (this.groupDialog.ref.membershipStatus !== 'member') {
|
||||
return;
|
||||
}
|
||||
await API.getGroupMember({
|
||||
groupId: this.groupDialog.id,
|
||||
userId: API.currentUser.id
|
||||
@@ -23273,6 +23276,7 @@ speechSynthesis.getVoices();
|
||||
if (
|
||||
D.ref &&
|
||||
D.ref.myMember &&
|
||||
D.ref.myMember.permissions &&
|
||||
D.ref.myMember.permissions.includes('group-members-viewall')
|
||||
) {
|
||||
return true;
|
||||
|
||||
@@ -759,11 +759,11 @@ html
|
||||
span {{ scope.row.created_at | formatDate('short') }}
|
||||
el-table-column(label="Type" prop="type" width="160")
|
||||
template(v-once #default="scope")
|
||||
el-tooltip(placement="top" v-if="scope.row.type === 'invite'")
|
||||
el-tooltip(v-if="scope.row.type === 'invite'" placement="top")
|
||||
template(#content)
|
||||
location(v-if="scope.row.details" :location="scope.row.details.worldId" :hint="scope.row.details.worldName" :link="false")
|
||||
span.x-link(v-text="scope.row.type" @click="showWorldDialog(scope.row.details.worldId)")
|
||||
template(v-if="scope.row.type && (scope.row.type.startsWith('group.') || scope.row.type === 'moderation.warning.group')")
|
||||
template(v-else-if="scope.row.type && (scope.row.type.startsWith('group.') || scope.row.type === 'moderation.warning.group')")
|
||||
span.x-link(v-text="scope.row.type" @click="showGroupDialog(scope.row.link)")
|
||||
span(v-else v-text="scope.row.type")
|
||||
el-table-column(label="User" prop="senderUsername" width="150")
|
||||
@@ -2292,6 +2292,7 @@ html
|
||||
span.name Joined At
|
||||
span.extra {{ groupDialog.ref.myMember.joinedAt | formatDate('long') }}
|
||||
el-tab-pane(label="Members")
|
||||
template(v-if="groupDialog.ref.membershipStatus === 'member'")
|
||||
span(v-if="isAllowedToViewGroupMembers()" style="font-weight:bold;font-size:16px") All Members
|
||||
span(v-else style="font-weight:bold;font-size:16px") Friends Only
|
||||
br
|
||||
@@ -3228,10 +3229,10 @@ html
|
||||
el-button(type="default" size="small" @click="setProfilePicOverride('')" icon="el-icon-close" :disabled="!API.currentUser.profilePicOverride") Clear
|
||||
br
|
||||
.x-friend-item(v-for="image in galleryTable" :key="image.id" style="display:inline-block;margin-top:10px;width:unset;cursor:default")
|
||||
.vrcplus-icon(v-if="image.versions[1].file.url" @click="setProfilePicOverride(image.id)" :class="{ 'current-vrcplus-icon': compareCurrentProfilePic(image.id) }")
|
||||
img.avatar(v-lazy="image.versions[1].file.url")
|
||||
.vrcplus-icon(v-if="image.versions[image.versions.length - 1].file.url" @click="setProfilePicOverride(image.id)" :class="{ 'current-vrcplus-icon': compareCurrentProfilePic(image.id) }")
|
||||
img.avatar(v-lazy="image.versions[image.versions.length - 1].file.url")
|
||||
div(style="float:right;margin-top:5px")
|
||||
el-button(type="default" @click="openExternalLink(image.versions[1].file.url)" size="mini" icon="el-icon-paperclip" circle)
|
||||
el-button(type="default" @click="openExternalLink(image.versions[image.versions.length - 1].file.url)" size="mini" icon="el-icon-paperclip" circle)
|
||||
el-button(type="default" @click="deleteGalleryImage(image.id)" size="mini" icon="el-icon-delete" circle style="margin-left:5px")
|
||||
el-tab-pane(v-if="galleryDialogVisible" v-loading="galleryDialogIconsLoading")
|
||||
span(slot="label") Icons
|
||||
@@ -3243,10 +3244,10 @@ html
|
||||
el-button(type="default" size="small" @click="setVRCPlusIcon('')" icon="el-icon-close" :disabled="!API.currentUser.userIcon") Clear
|
||||
br
|
||||
.x-friend-item(v-for="image in VRCPlusIconsTable" :key="image.id" style="display:inline-block;margin-top:10px;width:unset;cursor:default")
|
||||
.vrcplus-icon(v-if="image.versions[1].file.url" @click="setVRCPlusIcon(image.id)" :class="{ 'current-vrcplus-icon': compareCurrentVRCPlusIcon(image.id) }")
|
||||
img.avatar(v-lazy="image.versions[1].file.url")
|
||||
.vrcplus-icon(v-if="image.versions[image.versions.length - 1].file.url" @click="setVRCPlusIcon(image.id)" :class="{ 'current-vrcplus-icon': compareCurrentVRCPlusIcon(image.id) }")
|
||||
img.avatar(v-lazy="image.versions[image.versions.length - 1].file.url")
|
||||
div(style="float:right;margin-top:5px")
|
||||
el-button(type="default" @click="openExternalLink(image.versions[1].file.url)" size="mini" icon="el-icon-paperclip" circle)
|
||||
el-button(type="default" @click="openExternalLink(image.versions[image.versions.length - 1].file.url)" size="mini" icon="el-icon-paperclip" circle)
|
||||
el-button(type="default" @click="deleteVRCPlusIcon(image.id)" size="mini" icon="el-icon-delete" circle style="margin-left:5px")
|
||||
|
||||
//- dialog Table: Previous Instances User
|
||||
|
||||
Reference in New Issue
Block a user