Skip to content

Commit

Permalink
updated the logic of the has_attachments flag
Browse files Browse the repository at this point in the history
  • Loading branch information
adelloste committed Nov 29, 2023
1 parent 68d7071 commit 1526794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/messages/persistence/messagesPayload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const withRemoteContent = (
third_party_data: {
...message.content.third_party_data,
id: message.id as NonEmptyString,
has_attachments: true
has_attachments: template.attachmentCount > 0
}
},
third_party_message: {
Expand Down

0 comments on commit 1526794

Please sign in to comment.