Make AP public delivery "to" a list

merge-requests/144/head
Jason Robinson 2019-05-27 22:38:40 +03:00
rodzic b5d739f00a
commit f0c96b86f3
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -132,7 +132,9 @@ def handle_send(
try:
payload = handle_create_payload(entity, author_user, protocol, parent_user=parent_user)
if public:
payload["to"] = NAMESPACE_PUBLIC
payload["to"] = [
NAMESPACE_PUBLIC,
]
else:
payload["to"] = fid
payload = json.dumps(payload).encode("utf-8")