Include to field if following group

main
Bob Mottram 2021-08-02 22:09:22 +01:00
parent 998f188593
commit b30d256faa
1 changed files with 1 additions and 0 deletions

View File

@ -991,6 +991,7 @@ def sendFollowRequest(session, baseDir: str,
'object': followedId 'object': followedId
} }
if groupAccount: if groupAccount:
newFollowJson['to'] = followedId
print('Follow request: ' + str(newFollowJson)) print('Follow request: ' + str(newFollowJson))
if _followApprovalRequired(baseDir, nickname, domain, debug, if _followApprovalRequired(baseDir, nickname, domain, debug,