Can specify location without time

main
Bob Mottram 2020-01-12 13:16:02 +00:00
parent 84d7145922
commit a2e083c7a1
1 changed files with 6 additions and 6 deletions

View File

@ -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',