1
0
Fork 0

Sign messages

This commit is contained in:
Mouse Reeve 2020-02-15 13:01:42 -08:00
parent 41fcc7f2e8
commit b2e6b5c571
2 changed files with 16 additions and 4 deletions

View file

@ -38,7 +38,7 @@ def broadcast(sender, activity, recipients):
errors = []
for recipient in recipients:
try:
response = sign_and_send(sender, activity, recipient)
sign_and_send(sender, activity, recipient)
except requests.exceptions.HTTPError as e:
# TODO: maybe keep track of users who cause errors
errors.append({