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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,
},