Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
通知の返信で閉じるように
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jan 27, 2020
1 parent a0dcaf5 commit 6acb58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ messaging.setBackgroundMessageHandler(async payload => {
const notificationTitle = title || 'traQ'
const notificationOptions = payload.data
notificationOptions.data = payload.data
notificationOptions.renotify = true
notificationOptions.renotify = false
notificationOptions.badge = '/static/badge.png'
if (title && !['#general', '#random'].includes(title)) {
const placeholder = `${title}${title.includes('#') ? '投稿' : '返信'}する...`
Expand Down

0 comments on commit 6acb58d

Please sign in to comment.