fix channel cache not updating

This commit is contained in:
cos
2026-05-07 18:19:53 +02:00
parent 916463234f
commit 72bc839bf1
34 changed files with 7 additions and 3113 deletions
+4
View File
@@ -102,6 +102,10 @@ func getHubByIdStr(ctx context.Context, hubId string) (*types.Hub, error) {
if err != nil {
return nil, err
}
for _, u := range hub.Users {
updateChannelCacheForSpecUser(u, hub)
}
cache.SaveHub(hub)
}
return hub, nil