fix reports

This commit is contained in:
Henry Jameson 2026-08-26 18:12:17 +03:00
commit a44b60dbc8
2 changed files with 4 additions and 3 deletions

View file

@ -534,7 +534,7 @@ export const useStatusesStore = defineStore('statuses', {
// For when blocking a user
wipeUserStatuses(userId) {
const removed = this.statusesPerUser.get(userId)
const removed = this.statusesPerUser.get(userId) ?? new Set()
removed.forEach((statusId) => {
const status = this.allStatuses.get(statusId)
this.allStatuses.delete(statusId)