Exit earlier

This commit is contained in:
bashrc committed 2019-10-20 10:51:32 +01:00
1 parent b82a60bf8c
commit 71f2b04bfc
1 file changed
+3 -1
+3 -1
View File
@@ -1944,8 +1944,10 @@ def createSharedInboxIndex(baseDir: str,sharedBoxDir: str, \
continue
actorNickname=getNicknameFromActor(postJsonObject['actor'])
if not actorNickname:
continue
actorDomain,actorPort=getDomainFromActor(postJsonObject['actor'])
if not (actorNickname and actorDomain):
if not actorDomain:
continue
# is the actor followed by this account?