copyQuoteContentFromOriginal: Copy bodyRanges alongside body text
This commit is contained in:
parent
77223b9a3d
commit
c1da469996
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue