Sign messages
This commit is contained in:
parent
41fcc7f2e8
commit
b2e6b5c571
2 changed files with 16 additions and 4 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue