From 9f1cc9432fa7a7aa5af8c411ac8e8d54e6a6725b Mon Sep 17 00:00:00 2001 From: Alain St-Denis Date: Mon, 27 Feb 2023 16:51:09 -0500 Subject: [PATCH] endpoint, not endpoints... --- federation/outbound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federation/outbound.py b/federation/outbound.py index 2ee6938..dd93ded 100644 --- a/federation/outbound.py +++ b/federation/outbound.py @@ -167,7 +167,7 @@ def handle_send( logger.debug('handle_send - length of recipients: %s', len(recipients)) # Flatten to unique recipients # TODO supply a callable that empties "fid" in the case that public=True - unique_recipients = list(unique_everseen(recipients, key=lambda val: val['endpoints'])) + unique_recipients = list(unique_everseen(recipients, key=lambda val: val['endpoint'])) logger.debug('handle_send - length of unique_recipients: %s', len(unique_recipients)) logger.debug('handle_send / unique_recipients - %s', unique_recipients)