Unlisted post arguments

main
Bob Mottram 2021-07-01 21:54:33 +01:00
parent 2919417e59
commit e1e545506d
2 changed files with 9 additions and 5 deletions

View File

@ -13546,13 +13546,17 @@ class PubServer(BaseHTTPRequestHandler):
self.server.baseDir,
nickname,
self.server.domain)
followersOnly = False
saveToFile = False
clientToServer = False
messageJson = \
createUnlistedPost(self.server.baseDir,
nickname,
self.server.domain, self.server.port,
self.server.httpPrefix,
mentionsStr + fields['message'],
False, False, False, commentsEnabled,
followersOnly, saveToFile,
clientToServer, commentsEnabled,
filename, attachmentMediaType,
fields['imageDescription'],
city,

View File

@ -1600,10 +1600,10 @@ def createUnlistedPost(baseDir: str,
clientToServer: bool, commentsEnabled: bool,
attachImageFilename: str, mediaType: str,
imageDescription: str, city: str,
inReplyTo: str = None, inReplyToAtomUri: str = None,
subject: str = None, schedulePost: bool = False,
eventDate: str = None, eventTime: str = None,
location: str = None) -> {}:
inReplyTo: str, inReplyToAtomUri: str,
subject: str, schedulePost: bool,
eventDate: str, eventTime: str,
location: str) -> {}:
"""Unlisted post. This has the #Public and followers links inverted.
"""
domainFull = getFullDomain(domain, port)