Fix fetching remote summaries
This commit is contained in:
parent
af94ba9d02
commit
b752507b48
|
@ -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 New Issue