mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
revert 5db09e9
This commit is contained in:
@@ -364,14 +364,6 @@ export const useSharedFeedStore = defineStore('SharedFeed', () => {
|
|||||||
}
|
}
|
||||||
// BlockedOnPlayerJoined, BlockedOnPlayerLeft, MutedOnPlayerJoined, MutedOnPlayerLeft
|
// BlockedOnPlayerJoined, BlockedOnPlayerLeft, MutedOnPlayerJoined, MutedOnPlayerLeft
|
||||||
if (ctx.type === 'OnPlayerJoined' || ctx.type === 'OnPlayerLeft') {
|
if (ctx.type === 'OnPlayerJoined' || ctx.type === 'OnPlayerLeft') {
|
||||||
if (
|
|
||||||
ctx.userId &&
|
|
||||||
!moderationStore.cachedPlayerModerationsUserIds.has(
|
|
||||||
ctx.userId
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
// no moderation for this userId, skip
|
|
||||||
} else {
|
|
||||||
for (var ref of moderationStore.cachedPlayerModerations.values()) {
|
for (var ref of moderationStore.cachedPlayerModerations.values()) {
|
||||||
if (
|
if (
|
||||||
ref.targetDisplayName !== ctx.displayName &&
|
ref.targetDisplayName !== ctx.displayName &&
|
||||||
@@ -404,18 +396,10 @@ export const useSharedFeedStore = defineStore('SharedFeed', () => {
|
|||||||
(wristFilter[type] === 'VIP' && isFavorite))
|
(wristFilter[type] === 'VIP' && isFavorite))
|
||||||
) {
|
) {
|
||||||
wristArr.unshift(entry);
|
wristArr.unshift(entry);
|
||||||
const entryTime = Date.parse(entry.created_at);
|
|
||||||
if (
|
|
||||||
!earliestKeptTime ||
|
|
||||||
entryTime < earliestKeptTime
|
|
||||||
) {
|
|
||||||
earliestKeptTime = entryTime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
notificationStore.queueGameLogNoty(entry);
|
notificationStore.queueGameLogNoty(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// when too many user joins happen at once when switching instances
|
// when too many user joins happen at once when switching instances
|
||||||
// the "w" counter maxes out and wont add any more entries
|
// the "w" counter maxes out and wont add any more entries
|
||||||
// until the onJoins are cleared by "Location"
|
// until the onJoins are cleared by "Location"
|
||||||
|
|||||||
Reference in New Issue
Block a user