mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
Rewrite shared feed
This commit is contained in:
@@ -1645,6 +1645,7 @@ export const usePhotonStore = defineStore('Photon', () => {
|
||||
type
|
||||
};
|
||||
notificationStore.queueModerationNoty(noty);
|
||||
sharedFeedStore.addEntry(noty);
|
||||
const entry = {
|
||||
created_at: gameLogDate,
|
||||
userId: ref.id,
|
||||
@@ -1653,9 +1654,6 @@ export const usePhotonStore = defineStore('Photon', () => {
|
||||
};
|
||||
moderationAgainstTable.value.push(entry);
|
||||
}
|
||||
if (block || mute || block !== row.block || mute !== row.mute) {
|
||||
sharedFeedStore.updateSharedFeed(true);
|
||||
}
|
||||
if (block || mute) {
|
||||
database.setModeration({
|
||||
userId: ref.id,
|
||||
|
||||
Reference in New Issue
Block a user