This commit is contained in:
Natsumi
2025-05-26 05:12:51 +10:00
parent 2d58d3cbbd
commit 2f019ac038
4 changed files with 7 additions and 3 deletions

View File

@@ -336,6 +336,7 @@ console.log(`isLinux: ${LINUX}`);
provide() {
return {
API,
friends: this.friends,
showUserDialog: this.showUserDialog,
adjustDialogZ: this.adjustDialogZ,
getWorldName: this.getWorldName,
@@ -13737,7 +13738,7 @@ console.log(`isLinux: ${LINUX}`);
lastLocationDestination: this.lastLocationDestination,
isGameRunning: this.isGameRunning,
inviteResponseMessageTable: this.inviteResponseMessageTable,
updateImage: this.updateImage,
uploadImage: this.uploadImage,
checkCanInvite: this.checkCanInvite,
inviteRequestResponseMessageTable:
this.inviteRequestResponseMessageTable

View File

@@ -557,6 +557,8 @@ export default class extends baseClass {
// on avatar upload
} else if (contentType === 'avatargallery') {
// on avatar gallery image upload
} else if (contentType === 'invitePhoto') {
// on uploading invite photo
} else {
console.log(
'Unknown content-refresh type',

View File

@@ -506,7 +506,7 @@
export default {
name: 'NewInstanceDialog',
components: { InviteDialog },
inject: ['API', 'userImage', 'userStatusClass', 'showLaunchDialog', 'adjustDialogZ'],
inject: ['API', 'friends', 'userImage', 'userStatusClass', 'showLaunchDialog', 'adjustDialogZ'],
props: {
vipFriends: {
type: Array,

View File

@@ -939,9 +939,10 @@
</template>
<div class="detail">
<span class="name">{{ t('dialog.user.info.last_activity') }}</span>
<span class="extra">{{
<span v-if="userDialog.ref.last_activity" class="extra">{{
timeToText(Date.now() - Date.parse(userDialog.ref.last_activity))
}}</span>
<span v-else class="extra">-</span>
</div>
</el-tooltip>
</div>