mirror of https://gitlab.com/bashrc2/epicyon
Spaces
parent
b4783c510d
commit
80f43a728a
|
@ -198,9 +198,10 @@ def sendAnnounceViaServer(baseDir: str, session,
|
|||
statusNumber, published = getStatusNumber()
|
||||
newAnnounceId = httpPrefix + '://' + fromDomainFull + '/users/' + \
|
||||
fromNickname + '/statuses/' + statusNumber
|
||||
actorStr = httpPrefix + '://' + fromDomainFull + '/users/' + fromNickname
|
||||
newAnnounceJson = {
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
'actor': httpPrefix+'://'+fromDomainFull+'/users/'+fromNickname,
|
||||
'actor': actorStr,
|
||||
'atomUri': newAnnounceId,
|
||||
'cc': [ccUrl],
|
||||
'id': newAnnounceId + '/activity',
|
||||
|
|
Loading…
Reference in New Issue