Group account follow request debug

main
Bob Mottram 2021-08-02 21:57:44 +01:00
parent dcf76f996e
commit 998f188593
1 changed files with 3 additions and 0 deletions

View File

@ -975,6 +975,7 @@ def sendFollowRequest(session, baseDir: str,
groupAccount = hasGroupType(baseDir, followedActor, personCache)
if groupAccount:
followHandle = '!' + followHandle
print('Follow request being sent to group account')
else:
if debug:
print('DEBUG: sendFollowRequest - assuming single user instance')
@ -989,6 +990,8 @@ def sendFollowRequest(session, baseDir: str,
'actor': followActor,
'object': followedId
}
if groupAccount:
print('Follow request: ' + str(newFollowJson))
if _followApprovalRequired(baseDir, nickname, domain, debug,
followHandle):