Handle stray none

master
Bob Mottram 2019-09-03 20:53:22 +01:00
parent 04ca84400e
commit 05703db1a3
1 changed files with 2 additions and 0 deletions

View File

@ -346,6 +346,8 @@ def inboxPostRecipientsAdd(baseDir :str,httpPrefix :str,toList :[], \
"""
followerRecipients=False
for recipient in toList:
if not recipient:
continue
# is this a to a local account?
if domainMatch in recipient:
# get the handle for the local account