add text back for smooth migration

pull/655/head
Ryan Zhao 3 years ago
parent 185f6ab269
commit cf961d173d

@ -44,6 +44,7 @@ public extension VisibleMessage {
return nil
}
let quoteProto = SNProtoDataMessageQuote.builder(id: timestamp, author: publicKey)
if let text = text { quoteProto.setText(text) }
addAttachmentsIfNeeded(db, to: quoteProto)
do {
return try quoteProto.build()

Loading…
Cancel
Save