kopia lustrzana https://gitlab.com/jaywink/federation
Fix typo in handle_send fail early code
rodzic
d84a990510
commit
56eeb6d371
|
|
@ -180,7 +180,7 @@ def handle_send(
|
|||
"urls": {endpoint},
|
||||
})
|
||||
elif protocol == "diaspora":
|
||||
if public and not skip_ready_payload["activitypub"]:
|
||||
if public and not skip_ready_payload["diaspora"]:
|
||||
if public_key:
|
||||
raise ValueError("handle_send - Diaspora recipient cannot be public and use encrypted delivery")
|
||||
if not ready_payloads[protocol]["payload"]:
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue