mirror of https://gitlab.com/bashrc2/epicyon
https on repeats may differ
parent
e886a09734
commit
e77cf39f4c
|
@ -63,11 +63,11 @@ def announcePublic(baseDir: str,username: str, domain: str, port: int, https: bo
|
||||||
ccUrl = prefix + '://'+fromDomain+'/users/'+username+'/followers'
|
ccUrl = prefix + '://'+fromDomain+'/users/'+username+'/followers'
|
||||||
return createAnnounce(baseDir,username, domain, port,toUrl, ccUrl, https, objectUrl, saveToFile)
|
return createAnnounce(baseDir,username, domain, port,toUrl, ccUrl, https, objectUrl, saveToFile)
|
||||||
|
|
||||||
def repeatMessage(baseDir: str,username: str, domain: str, port: int, announceUsername: str, announceDomain: str, announcePort: int, announceStatusNumber: int, https: bool, saveToFile: bool) -> {}:
|
def repeatMessage(baseDir: str,username: str, domain: str, port: int, https: bool, announceUsername: str, announceDomain: str, announcePort: int, announceStatusNumber: int, announceHttps: bool, saveToFile: bool) -> {}:
|
||||||
"""Repeats a given status message
|
"""Repeats a given status message
|
||||||
"""
|
"""
|
||||||
prefix='https'
|
prefix='https'
|
||||||
if not https:
|
if not announceHttps:
|
||||||
prefix='http'
|
prefix='http'
|
||||||
|
|
||||||
announcedDomain=announceDomain
|
announcedDomain=announceDomain
|
||||||
|
|
Loading…
Reference in New Issue