fix tenant group topic and member cache

This commit is contained in:
richjohnrambo
2026-09-23 10:35:06 +08:00
parent 6303d07580
commit b413560455
4 changed files with 125 additions and 27 deletions
+4
View File
@@ -1226,6 +1226,10 @@ func (a *adapter) TenantGroupCreate(id t.TenantID, topic *t.Topic, owner t.Uid,
if topic == nil || settings == nil || topic.Id == "" || settings.Topic != topic.Id || owner.IsZero() {
return t.ErrMalformed
}
topic.TenantID = id
topic.Owner = owner.String()
settings.TenantID = id
settings.OwnerUserID = owner
ctx, cancel := a.getContextForTx()
if cancel != nil {
defer cancel()