[MM-57348] Support notification metrics from the Desktop App client (#2998)
* [MM-57348] Support notification metrics from the Desktop App client * Add timeout in case promise never resolves
This commit is contained in:
@@ -112,9 +112,9 @@ export function handleWelcomeScreenModal() {
|
||||
}
|
||||
}
|
||||
|
||||
export function handleMentionNotification(event: IpcMainEvent, title: string, body: string, channelId: string, teamId: string, url: string, silent: boolean, soundName: string) {
|
||||
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});
|
||||
NotificationManager.displayMention(title, body, channelId, teamId, url, silent, event.sender, soundName);
|
||||
return NotificationManager.displayMention(title, body, channelId, teamId, url, silent, event.sender, soundName);
|
||||
}
|
||||
|
||||
export function handleOpenAppMenu() {
|
||||
|
Reference in New Issue
Block a user