This commit is contained in:
pa
2026-01-02 10:54:35 +09:00
committed by Natsumi
parent e1e6d52ac8
commit 367a517337
-16
View File
@@ -364,14 +364,6 @@ export const useSharedFeedStore = defineStore('SharedFeed', () => {
}
// BlockedOnPlayerJoined, BlockedOnPlayerLeft, MutedOnPlayerJoined, MutedOnPlayerLeft
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()) {
if (
ref.targetDisplayName !== ctx.displayName &&
@@ -404,18 +396,10 @@ export const useSharedFeedStore = defineStore('SharedFeed', () => {
(wristFilter[type] === 'VIP' && isFavorite))
) {
wristArr.unshift(entry);
const entryTime = Date.parse(entry.created_at);
if (
!earliestKeptTime ||
entryTime < earliestKeptTime
) {
earliestKeptTime = entryTime;
}
}
notificationStore.queueGameLogNoty(entry);
}
}
}
// when too many user joins happen at once when switching instances
// the "w" counter maxes out and wont add any more entries
// until the onJoins are cleared by "Location"