Skip to content

Commit

Permalink
fix: Encrypted push notification missing message.content (#33377)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Costa <[email protected]>
  • Loading branch information
2 people authored and abhinavkrin committed Oct 25, 2024
1 parent c150d03 commit 70e247a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-dryers-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": minor
---

Send messages with encrypted attachments to mobile notification service
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function getPushData({
name: settings.get('Push_show_username_room') ? room.name : '',
messageType: message.t,
tmid: message.tmid,
...(message.t === 'e2e' && { msg: message.msg }),
...(message.t === 'e2e' && { msg: message.msg, content: message.content }),
},
roomName:
settings.get('Push_show_username_room') && roomCoordinator.getRoomDirectives(room.t).isGroupChat(room)
Expand Down

0 comments on commit 70e247a

Please sign in to comment.