Receive support for editing messages
This commit is contained in:
parent
2781e621ad
commit
36e21c0134
46 changed files with 2053 additions and 405 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue