fix: avoid stale profile projections in shared schema
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user