Add next field to replies collection

merge-requests/30/head
Bob Mottram 2021-09-26 14:27:06 +01:00
parent f680d893e7
commit b9c9665f64
1 changed files with 2 additions and 0 deletions

View File

@ -1090,6 +1090,7 @@ def _createPostS2S(baseDir: str, nickname: str, domain: str, port: int,
'type': 'Collection',
'first': {
'type': 'CollectionPage',
'next': idStr + '?only_other_accounts=true&page=true',
'partOf': idStr,
'items': []
}
@ -1153,6 +1154,7 @@ def _createPostC2S(baseDir: str, nickname: str, domain: str, port: int,
'type': 'Collection',
'first': {
'type': 'CollectionPage',
'next': idStr + '?only_other_accounts=true&page=true',
'partOf': idStr,
'items': []
}