main2
Bob Mottram 2019-10-04 15:02:55 +01:00
parent d0a0737627
commit f8237edd26
1 changed files with 1 additions and 1 deletions

View File

@ -1299,7 +1299,7 @@ def sendToGroupMembers(session,baseDir: str,handle: str,port: int,postJsonObject
postJsonObject['to']=[httpPrefix+'://'+domain+'/users/'+nickname+'/followers'] postJsonObject['to']=[httpPrefix+'://'+domain+'/users/'+nickname+'/followers']
postJsonObject['cc']=[] postJsonObject['cc']=[]
postJsonObject['object']['to']=postJsonObject['to'] postJsonObject['object']['to']=postJsonObject['to']
postJsonObject['object']['cc']=[] postJsonObject['object']['cc']=postJsonObject['cc']
if ':' in domain: if ':' in domain:
domain=domain.split(':')[0] domain=domain.split(':')[0]
with open(followersFile, 'r') as groupMembers: with open(followersFile, 'r') as groupMembers: