From b1e6df06a26f038ae8afd2152e29b188a72c554a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Aug 2019 16:46:38 +0100 Subject: [PATCH] Reverse logic --- follow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/follow.py b/follow.py index d2b673331..7d4af2417 100644 --- a/follow.py +++ b/follow.py @@ -421,9 +421,9 @@ def receiveFollowRequest(session,baseDir: str,httpPrefix: str, \ baseDir+'/accounts/'+handleToFollow) return True - if not isFollowerOfPerson(baseDir, \ - nicknameToFollow,domainToFollowFull, \ - nickname,domainFull): + if isFollowerOfPerson(baseDir, \ + nicknameToFollow,domainToFollowFull, \ + nickname,domainFull): if debug: print('DEBUG: '+nickname+'@'+domain+ \ ' is already a follower of '+ \