From name

This commit is contained in:
bashrc committed 2019-08-26 14:34:41 +01:00
1 parent 4e11dc1fe7
commit e07d5cfcb4
1 file changed
+3 -2
+3 -2
View File
@@ -1457,6 +1457,7 @@ def sendToFollowers(session,baseDir: str, \
print('Post to followers did not resolve any domains')
return
print('Post to followers resolved domains')
print(str(grouped))
# this is after the message has arrived at the server
clientToServer=False
@@ -1475,11 +1476,11 @@ def sendToFollowers(session,baseDir: str, \
toNickname=followerHandles[index].split('@')[0]
cc=''
if len(followerHandles)>1:
nickname='inbox'
toNickname='inbox'
#nickname='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.get('object'):
if isinstance(postJsonObject['object'], dict):