Clean story reply screenshot data

This commit is contained in:
trevor-signal
2023-08-21 15:36:58 -04:00
committed by GitHub
parent e5a9bf0f7c
commit bddf1f432d
4 changed files with 155 additions and 1 deletions

View File

@@ -393,7 +393,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
strictAssert(isAciString(authorAci), 'Story message from pni');
this.set({
storyReplyContext: {
attachment,
attachment: omit(attachment, 'screenshotData'),
authorAci,
messageId: message.id,
},