fix(send_message): use result of send to actually do the work

pull/1/head
Luca 8 months ago
parent b2b5dbc091
commit 661df8d370

@ -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()

Loading…
Cancel
Save