Increase world/friend limit

This commit is contained in:
Natsumi
2021-05-29 21:01:09 +12:00
parent 11376bbdf7
commit 8198d2a4fc
2 changed files with 6 additions and 6 deletions

View File

@@ -2879,7 +2879,7 @@ speechSynthesis.getVoices();
};
API.buildFavoriteGroups = function () {
// 96 = ['group_0', 'group_1', 'group_2'] x 32
// 192 = ['group_0', 'group_1', 'group_2'] x 64
this.favoriteFriendGroups = [];
for (var i = 0; i < 3; ++i) {
this.favoriteFriendGroups.push({
@@ -2888,12 +2888,12 @@ speechSynthesis.getVoices();
type: 'friend',
name: `group_${i}`,
displayName: `Group ${i + 1}`,
capacity: 32,
capacity: 64,
count: 0,
visibility: 'private'
});
}
// 128 = ['worlds1', 'worlds2', 'worlds3', 'worlds4'] x 32
// 256 = ['worlds1', 'worlds2', 'worlds3', 'worlds4'] x 64
this.favoriteWorldGroups = [];
for (var i = 0; i < 4; ++i) {
this.favoriteWorldGroups.push({
@@ -2902,7 +2902,7 @@ speechSynthesis.getVoices();
type: 'world',
name: `worlds${i + 1}`,
displayName: `Group ${i + 1}`,
capacity: 32,
capacity: 64,
count: 0,
visibility: 'private'
});
@@ -11904,7 +11904,7 @@ speechSynthesis.getVoices();
continue;
}
var params = {
n: 50,
n: 100,
offset: 0,
userId,
tag: list.name

View File

@@ -1183,7 +1183,7 @@ html
template(v-for="(list, index) in userFavoriteWorlds" v-if="list")
span(style="font-weight:bold;font-size:16px") {{ list[0] }}
i.x-user-status(style="margin-left:5px" :class="userFavoriteWorldsStatus(list[1])")
span(style="color:#909399;font-size:12px;margin-left:5px") {{ list[2].length }}/32
span(style="color:#909399;font-size:12px;margin-left:5px") {{ list[2].length }}/64
.x-friend-list(style="margin-top:10px;margin-bottom:15px;min-height:60px")
.x-friend-item(v-for="world in list[2]" :key="world.id" @click="showWorldDialog(world.id)")
.avatar