From name

master
Bob Mottram 2019-08-26 14:34:41 +01:00
parent 4e11dc1fe7
commit e07d5cfcb4
1 changed files with 3 additions and 2 deletions

View File

@ -1457,6 +1457,7 @@ def sendToFollowers(session,baseDir: str, \
print('Post to followers did not resolve any domains') print('Post to followers did not resolve any domains')
return return
print('Post to followers resolved domains') print('Post to followers resolved domains')
print(str(grouped))
# this is after the message has arrived at the server # this is after the message has arrived at the server
clientToServer=False clientToServer=False
@ -1475,11 +1476,11 @@ def sendToFollowers(session,baseDir: str, \
toNickname=followerHandles[index].split('@')[0] toNickname=followerHandles[index].split('@')[0]
cc='' cc=''
if len(followerHandles)>1: if len(followerHandles)>1:
nickname='inbox'
toNickname='inbox' toNickname='inbox'
#nickname='inbox'
# If this is a profile update then send to shared inbox # If this is a profile update then send to shared inbox
if postJsonObject.get('type'): if toNickname!='inbox' and postJsonObject.get('type'):
if postJsonObject['type']=='Update': if postJsonObject['type']=='Update':
if postJsonObject.get('object'): if postJsonObject.get('object'):
if isinstance(postJsonObject['object'], dict): if isinstance(postJsonObject['object'], dict):