fix: skip empty results in dispatch

This commit is contained in:
2023-07-21 09:40:08 +02:00
parent 5619fd7a36
commit cbe8b5c373

View File

@@ -141,6 +141,9 @@ def save_in_dispatch_queue(persons, message):
for p in persons:
if not p:
continue
# this secret will be needed to confirm the message as dispatched #
dispatch_secret = secrets.token_urlsafe(32)