mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
d17b984bbb
commit
f80fd83998
|
@ -3375,8 +3375,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
updateActorJson={
|
||||
'type': 'Update',
|
||||
'actor': actorJson['id'],
|
||||
'to': ['https://www.w3.org/ns/activitystreams#Public'],
|
||||
'cc': [actorJson['id']+'/followers'],
|
||||
'to': [actorJson['id']+'/followers'],
|
||||
'cc': [],
|
||||
'object': actorJson
|
||||
}
|
||||
self.postToNickname=nickname
|
||||
|
|
3
posts.py
3
posts.py
|
@ -1706,7 +1706,10 @@ def sendToFollowers(session,baseDir: str, \
|
|||
toNickname=handle.split('@')[0]
|
||||
|
||||
if debug:
|
||||
if postJsonObject['type']!='Update':
|
||||
print('DEBUG: Sending from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain)
|
||||
else:
|
||||
print('DEBUG: Sending update from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain)
|
||||
sendSignedJson(postJsonObject,session,baseDir, \
|
||||
nickname,domain,port, \
|
||||
toNickname,toDomain,toPort, \
|
||||
|
|
Loading…
Reference in New Issue