forked from indymedia/epicyon
Can specify location without time
parent
84d7145922
commit
a2e083c7a1
12
posts.py
12
posts.py
|
@ -584,12 +584,12 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
|
||||||
"startTime": eventDateStr,
|
"startTime": eventDateStr,
|
||||||
"endTime": eventDateStr
|
"endTime": eventDateStr
|
||||||
})
|
})
|
||||||
if location:
|
if location:
|
||||||
tags.append({
|
tags.append({
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"type": "Place",
|
"type": "Place",
|
||||||
"name": location
|
"name": location
|
||||||
})
|
})
|
||||||
|
|
||||||
postContext=[
|
postContext=[
|
||||||
'https://www.w3.org/ns/activitystreams',
|
'https://www.w3.org/ns/activitystreams',
|
||||||
|
|
Loading…
Reference in New Issue