Commit 745029a2 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Set temporary to false after each successful message sent

parent 48b5c070
...@@ -62,6 +62,7 @@ class MessageService : JobService() { ...@@ -62,6 +62,7 @@ class MessageService : JobService() {
attachments = message.attachments, attachments = message.attachments,
alias = message.senderAlias alias = message.senderAlias
) )
messageRepository.save(message.copy(isTemporary = false))
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment