[MM-59480] Remove logging of the title/body of notifications (#3092)
This commit is contained in:
parent
19169b7e70
commit
35665dee33
|
@ -113,7 +113,7 @@ export function handleWelcomeScreenModal() {
|
|||
}
|
||||
|
||||
export function handleMentionNotification(event: IpcMainInvokeEvent, title: string, body: string, channelId: string, teamId: string, url: string, silent: boolean, soundName: string) {
|
||||
log.debug('handleMentionNotification', {title, body, channelId, teamId, url, silent, soundName});
|
||||
log.debug('handleMentionNotification', {channelId, teamId, url, silent, soundName});
|
||||
return NotificationManager.displayMention(title, body, channelId, teamId, url, silent, event.sender, soundName);
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class NotificationManager {
|
|||
}
|
||||
|
||||
public async displayMention(title: string, body: string, channelId: string, teamId: string, url: string, silent: boolean, webcontents: Electron.WebContents, soundName: string) {
|
||||
log.debug('displayMention', {title, channelId, teamId, url, silent, soundName});
|
||||
log.debug('displayMention', {channelId, teamId, url, silent, soundName});
|
||||
|
||||
if (!Notification.isSupported()) {
|
||||
log.error('notification not supported');
|
||||
|
|
Loading…
Reference in a new issue