fix: avoid stale profile projections in shared schema

This commit is contained in:
richjohnrambo
2026-09-23 10:28:15 +08:00
parent 7f0903cd31
commit 6303d07580
3 changed files with 3 additions and 4 deletions
-3
View File
@@ -2722,9 +2722,6 @@ func refreshUserProfileProjections(tenantID types.TenantID, uid types.Uid, profi
if types.GetTopicCat(sub.Topic) != types.TopicCatGrp {
continue
}
if err := Subs.Update(tenantID, sub.Topic, uid, map[string]any{"Public": public}); err != nil {
logs.Warn.Printf("profile %s: refresh group subscription %s public failed: %v", uid, sub.Topic, err)
}
invalidateGroupMemberPages(tenantID, sub.Topic)
}
}