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,
|
||||
"endTime": eventDateStr
|
||||
})
|
||||
if location:
|
||||
tags.append({
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"type": "Place",
|
||||
"name": location
|
||||
})
|
||||
if location:
|
||||
tags.append({
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"type": "Place",
|
||||
"name": location
|
||||
})
|
||||
|
||||
postContext=[
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
|
|
Loading…
Reference in New Issue