[MM-59480] Remove logging of the title/body of notifications (#3092)
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user