Receive support for editing messages

This commit is contained in:
Josh Perez 2023-03-27 19:48:57 -04:00 committed by GitHub
parent 2781e621ad
commit 36e21c0134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 2053 additions and 405 deletions

View file

@ -128,12 +128,14 @@ class NotificationService extends EventEmitter {
public notify({
icon,
message,
messageId,
onNotificationClick,
silent,
title,
}: Readonly<{
icon?: string;
message: string;
messageId?: string;
onNotificationClick: () => void;
silent: boolean;
title: string;
@ -149,6 +151,7 @@ class NotificationService extends EventEmitter {
icon,
silent:
silent || audioNotificationSupport !== AudioNotificationSupport.Native,
tag: messageId,
});
notification.onclick = onNotificationClick;