copyQuoteContentFromOriginal: Copy bodyRanges alongside body text
This commit is contained in:
@@ -2055,6 +2055,10 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
||||
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
quote.text = getQuoteBodyText(originalMessage.attributes, quote.id);
|
||||
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
quote.bodyRanges = originalMessage.attributes.bodyRanges;
|
||||
|
||||
if (firstAttachment) {
|
||||
firstAttachment.thumbnail = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user