Created object gets reasonable 'to' field.

'to' and 'cc' get copied to Create activity.
2019-08-17
Marnanel Thurman 2019-07-30 19:06:02 +01:00
rodzic 30888694d1
commit df1b151d69
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -35,7 +35,7 @@ OBJECT_FORM = {
'attributedTo': BOB_ID,
"name": "Chris liked 'Minimal ActivityPub update client'",
"object": "https://rhiaro.co.uk/2016/05/minimal-activitypub",
"to": ["https://rhiaro.co.uk/#amy",
"to": [ALICE_ID,
"https://dustycloud.org/followers",
"https://rhiaro.co.uk/followers/"],
"cc": "https://e14n.com/evan"
@ -156,6 +156,8 @@ class TestInbox2(TestCase):
content = {
'type': 'Create',
'object': OBJECT_FORM,
'to': OBJECT_FORM['to'],
'cc': OBJECT_FORM['cc'],
},
)