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