forked from indymedia/epicyon
Add replies section to posts
parent
f301139626
commit
4c298025f4
18
posts.py
18
posts.py
|
@ -385,15 +385,15 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
|
||||||
},
|
},
|
||||||
'attachment': [],
|
'attachment': [],
|
||||||
'tag': [],
|
'tag': [],
|
||||||
'replies': {}
|
'replies': {
|
||||||
# 'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||||
# 'type': 'Collection',
|
'type': 'Collection',
|
||||||
# 'first': {
|
'first': {
|
||||||
# 'type': 'CollectionPage',
|
'type': 'CollectionPage',
|
||||||
# 'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
|
||||||
# 'items': []
|
'items': []
|
||||||
# }
|
}
|
||||||
#}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue