diff --git a/synapse/groups/attestations.py b/synapse/groups/attestations.py index 1eec3874b600..bd7dbe0d36f6 100644 --- a/synapse/groups/attestations.py +++ b/synapse/groups/attestations.py @@ -208,6 +208,5 @@ def _renew_attestation(group_user: Tuple[str, str]): "Error renewing attestation of %r in %r", user_id, group_id ) - await yieldable_gather_results( - _renew_attestation, ((row["group_id"], row["user_id"]) for row in rows) - ) + for row in rows: + await _renew_attestation((row["group_id"], row["user_id"]))