This commit is contained in:
fmodf 2024-08-15 18:26:35 +02:00
parent 9d8426612e
commit 66262f2f75

View file

@ -69,6 +69,12 @@ final class ClientMartinMessagesManager {
)
// Save message
Task {
await updateMsgInDB(msg)
}
}
private func updateMsgInDB(_ msg: Message) async {
Task {
do {
try await msg.save()