Add missing save(with:)

This commit is contained in:
nielsandriesse 2020-11-26 17:41:39 +11:00
parent a88ce33ee0
commit f04db2afb1
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ extension MessageSender : SharedSenderKeysDelegate {
}
message.attachmentIDs = streams.map { $0.uniqueId! }
tsMessage.attachmentIds.addObjects(from: message.attachmentIDs)
tsMessage.save(with: transaction)
}
@objc(send:withAttachments:inThread:usingTransaction:)