This commit is contained in:
Natsumi
2021-03-21 09:56:09 +13:00
parent dae546f324
commit 3889dca933
2 changed files with 24 additions and 25 deletions

View File

@@ -3659,7 +3659,7 @@ speechSynthesis.getVoices();
this.updateSharedFeedFeedTable(forceUpdate);
this.updateSharedFeedNotificationTable(forceUpdate);
this.updateSharedFeedFriendLogTable(forceUpdate);
this.updateSharedFeedPlayerModerationTable(forceUpdate);
//this.updateSharedFeedPlayerModerationTable(forceUpdate);
var feeds = this.sharedFeed;
if (!feeds.pendingUpdate) {
return;
@@ -3766,13 +3766,12 @@ speechSynthesis.getVoices();
var n = 0;
var wristFilter = this.sharedFeedFilters.wrist;
var notyFilter = this.sharedFeedFilters.noty;
var locationChange = false;
var playerCountIndex = 0;
var playerList = [];
var friendList = [];
while ((w < 20) || (n < 5) || ((!locationChange) && (this.hideOnPlayerJoined))) {
var ctx = data[--i];
if ((i <= -1) || (ctx.created_at < bias)) {
for (var i = data.length - 1; i > -1; i--) {
var ctx = data[i];
if (ctx.created_at < bias) {
break;
}
if (ctx.type === 'Notification') {
@@ -3808,9 +3807,6 @@ speechSynthesis.getVoices();
n--;
}
}
if (w >= 20) {
locationChange = true;
}
}
var isFriend = false;
var isFavorite = false;
@@ -3909,9 +3905,9 @@ speechSynthesis.getVoices();
var n = 0;
var wristFilter = this.sharedFeedFilters.wrist;
var notyFilter = this.sharedFeedFilters.noty;
while ((w < 20) || (n < 5)) {
var ctx = data[--i];
if ((i <= -1) || (ctx.created_at < bias)) {
for (var i = data.length - 1; i > -1; i--) {
var ctx = data[i];
if (ctx.created_at < bias) {
break;
}
if (ctx.type === 'Avatar') {
@@ -3970,9 +3966,9 @@ speechSynthesis.getVoices();
var n = 0;
var wristFilter = this.sharedFeedFilters.wrist;
var notyFilter = this.sharedFeedFilters.noty;
while ((w < 20) || (n < 5)) {
var ctx = data[--i];
if ((i <= -1) || (ctx.created_at < bias)) {
for (var i = data.length - 1; i > -1; i--) {
var ctx = data[i];
if (ctx.created_at < bias) {
break;
}
if (ctx.senderUserId === API.currentUser.id) {
@@ -4028,9 +4024,9 @@ speechSynthesis.getVoices();
var n = 0;
var wristFilter = this.sharedFeedFilters.wrist;
var notyFilter = this.sharedFeedFilters.noty;
while ((w < 20) || (n < 5)) {
var ctx = data[--i];
if ((i <= -1) || (ctx.created_at < bias)) {
for (var i = data.length - 1; i > -1; i--) {
var ctx = data[i];
if (ctx.created_at < bias) {
break;
}
if (ctx.type === 'FriendRequest') {
@@ -4086,9 +4082,9 @@ speechSynthesis.getVoices();
var n = 0;
var wristFilter = this.sharedFeedFilters.wrist;
var notyFilter = this.sharedFeedFilters.noty;
while ((w < 20) || (n < 5)) {
var ctx = data[--i];
if ((i <= -1) || (ctx.created < bias)) {
for (var i = data.length - 1; i > -1; i--) {
var ctx = data[i];
if (ctx.created < bias) {
break;
}
if (ctx.sourceUserId === API.currentUser.id) {