mirror of https://gitlab.com/bashrc2/epicyon
Followers only post arguments
parent
e1e545506d
commit
d24a517942
|
@ -13585,6 +13585,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.baseDir,
|
||||
nickname,
|
||||
self.server.domain)
|
||||
followersOnly = True
|
||||
saveToFile = False
|
||||
clientToServer = False
|
||||
messageJson = \
|
||||
createFollowersOnlyPost(self.server.baseDir,
|
||||
nickname,
|
||||
|
@ -13592,7 +13595,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.port,
|
||||
self.server.httpPrefix,
|
||||
mentionsStr + fields['message'],
|
||||
True, False, False,
|
||||
followersOnly, saveToFile,
|
||||
clientToServer,
|
||||
commentsEnabled,
|
||||
filename, attachmentMediaType,
|
||||
fields['imageDescription'],
|
||||
|
|
10
posts.py
10
posts.py
|
@ -1630,11 +1630,11 @@ def createFollowersOnlyPost(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) -> {}:
|
||||
"""Followers only post
|
||||
"""
|
||||
domainFull = getFullDomain(domain, port)
|
||||
|
|
Loading…
Reference in New Issue