Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Pass the "silent" option to desktop agents #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion bin/push.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/push.js.map

Large diffs are not rendered by default.

39 changes: 38 additions & 1 deletion bin/push.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/push.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/serviceWorker.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/agents/DesktopAgent.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export default class DesktopAgent extends AbstractAgent {
: options.icon.x32,
body: options.body,
tag: options.tag,
requireInteraction: options.requireInteraction
requireInteraction: options.requireInteraction,
silent: options.silent
});
}

Expand Down