main2
Bob Mottram 2019-11-04 13:34:43 +00:00
parent 45a2844855
commit e6bd4cf1f4
1 changed files with 14 additions and 14 deletions

View File

@ -1693,13 +1693,13 @@ def sendToFollowers(session,baseDir: str, \
if debug: if debug:
print('DEBUG: Sending from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain) print('DEBUG: Sending from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain)
sendSignedJson(postJsonObject,session,baseDir, \ sendSignedJson(postJsonObject,session,baseDir, \
nickname,domain,port, \ nickname,domain,port, \
toNickname,toDomain,toPort, \ toNickname,toDomain,toPort, \
cc,httpPrefix,True,clientToServer, \ cc,httpPrefix,True,clientToServer, \
federationList, \ federationList, \
sendThreads,postLog,cachedWebfingers, \ sendThreads,postLog,cachedWebfingers, \
personCache,debug,projectVersion) personCache,debug,projectVersion)
else: else:
# send to individual followers without using a shared inbox # send to individual followers without using a shared inbox
for handle in followerHandles: for handle in followerHandles:
@ -1707,13 +1707,13 @@ def sendToFollowers(session,baseDir: str, \
if debug: if debug:
print('DEBUG: Sending from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain) print('DEBUG: Sending from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain)
sendSignedJson(postJsonObject,session,baseDir, \ sendSignedJson(postJsonObject,session,baseDir, \
nickname,domain,port, \ nickname,domain,port, \
toNickname,toDomain,toPort, \ toNickname,toDomain,toPort, \
cc,httpPrefix,True,clientToServer, \ cc,httpPrefix,True,clientToServer, \
federationList, \ federationList, \
sendThreads,postLog,cachedWebfingers, \ sendThreads,postLog,cachedWebfingers, \
personCache,debug,projectVersion) personCache,debug,projectVersion)
if debug: if debug:
print('DEBUG: End of sendToFollowers') print('DEBUG: End of sendToFollowers')