From d4e9a7a1cee9a0c3b792eb4f3bde1cfd2d6db11e Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Thu, 15 Oct 2020 08:31:43 -0300 Subject: [PATCH] [FIX] Don't send room name on notification (#19247) --- app/lib/server/functions/notifications/mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/server/functions/notifications/mobile.js b/app/lib/server/functions/notifications/mobile.js index 593ca686e74..9f65b63f15c 100644 --- a/app/lib/server/functions/notifications/mobile.js +++ b/app/lib/server/functions/notifications/mobile.js @@ -60,7 +60,7 @@ export async function getPushData({ room, message, userId, senderUsername, sende sender: message.u, senderName: username, type: room.t, - name: room.name, + name: settings.get('Push_show_username_room') ? room.name : '', messageType: message.t, tmid: message.tmid, ...message.t === 'e2e' && { msg: message.msg },