mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Clean up
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user