add initial s2s support

This commit is contained in:
Pascal Fischer
2025-09-02 18:16:05 +02:00
committed by pascal
parent 4eeb2d8deb
commit 874794d38b
6 changed files with 76 additions and 21 deletions

View File

@@ -75,9 +75,10 @@ func (am *DefaultAccountManager) SavePolicy(ctx context.Context, accountID, user
am.StoreEvent(ctx, userID, policy.ID, accountID, action, policy.EventMeta())
if updateAccountPeers {
am.UpdateAccountPeers(ctx, accountID)
}
updateAccountPeers = updateAccountPeers
// if updateAccountPeers {
am.UpdateAccountPeers(ctx, accountID)
// }
return policy, nil
}