[FIX] Don't send room name on notification (#19247)

pull/19264/head
Diego Sampaio 5 years ago committed by GitHub
parent d9f1b004e6
commit d4e9a7a1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 },

Loading…
Cancel
Save