2
0
Fork 0

fix(send_message): use result of send to actually do the work
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-10 19:55:10 +02:00
parent b2b5dbc091
commit 661df8d370
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def send_message(msgid, is_retry=False):
if msg.sent_at: if msg.sent_at:
return return
send(msg.as_outbound()) list(send(msg.as_outbound()))
msg.sent_at = timezone.now() msg.sent_at = timezone.now()
msg.save() msg.save()