mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-22 06:33:58 +01:00
Fix fetching remote summaries
This commit is contained in:
parent
af94ba9d02
commit
b752507b48
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ class GroupsLocalHandler(object):
|
||||||
valid_users = []
|
valid_users = []
|
||||||
for entry in chunk:
|
for entry in chunk:
|
||||||
g_user_id = entry["user_id"]
|
g_user_id = entry["user_id"]
|
||||||
attestation = entry.pop("attestation")
|
attestation = entry.pop("attestation", {})
|
||||||
try:
|
try:
|
||||||
if get_domain_from_id(g_user_id) != group_server_name:
|
if get_domain_from_id(g_user_id) != group_server_name:
|
||||||
yield self.attestations.verify_attestation(
|
yield self.attestations.verify_attestation(
|
||||||
|
@ -202,7 +202,7 @@ class GroupsLocalHandler(object):
|
||||||
valid_entries = []
|
valid_entries = []
|
||||||
for entry in chunk:
|
for entry in chunk:
|
||||||
g_user_id = entry["user_id"]
|
g_user_id = entry["user_id"]
|
||||||
attestation = entry.pop("attestation")
|
attestation = entry.pop("attestation", {})
|
||||||
try:
|
try:
|
||||||
if get_domain_from_id(g_user_id) != group_server_name:
|
if get_domain_from_id(g_user_id) != group_server_name:
|
||||||
yield self.attestations.verify_attestation(
|
yield self.attestations.verify_attestation(
|
||||||
|
|
Loading…
Reference in a new issue