From 568ecd9477b0c06a75eb97bbab5166fa7b8fac05 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 6 Feb 2020 22:25:45 +0900
Subject: Resolve #5861

---
 src/client/components/notes.vue | 13 -------------
 1 file changed, 13 deletions(-)

(limited to 'src/client/components/notes.vue')

diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue
index 0fa02681fa..20076eff0d 100644
--- a/src/client/components/notes.vue
+++ b/src/client/components/notes.vue
@@ -36,19 +36,6 @@ export default Vue.extend({
 
 	mixins: [
 		paging({
-			onPrepend: (self, note) => {
-				// タブが非表示なら通知
-				if (document.hidden) {
-					if ('Notification' in window && Notification.permission === 'granted') {
-						new Notification(getUserName(note.user), {
-							body: getNoteSummary(note),
-							icon: note.user.avatarUrl,
-							tag: 'newNote'
-						});
-					}
-				}
-			},
-
 			before: (self) => {
 				self.$emit('before');
 			},
-- 
cgit v1.2.3-freya

