Skip to content

Commit

Permalink
change: add notification sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetherinox committed Jul 20, 2024
1 parent 161da73 commit b11c4cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,10 @@ async function GetMessages() {
if (!msgHistory.includes(id)) {
toasted.notify({
title: `${topic} - ${dateHuman}`,
subtitle: `${dateHuman}`,
message: `${message}`,
actions: ['Acknowledge'],
sound: 'Pop',
open: store.get('instanceURL'),
persistent: (store.get('bPersistentNoti') === 0 ? false : true),
sticky: (store.get('bPersistentNoti') === 0 ? false : true)
});
Expand Down

0 comments on commit b11c4cb

Please sign in to comment.