From 01d9078107ee526533f0f2c7f73689b65a7b919a Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 2 Mar 2020 15:53:01 +0300 Subject: [PATCH] * blocked-services: remove Messenger --- client/src/components/ui/Icons.js | 4 ---- client/src/helpers/constants.js | 4 ---- home/blocked_services.go | 3 +-- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/client/src/components/ui/Icons.js b/client/src/components/ui/Icons.js index 24d05e65..8ef53ff2 100644 --- a/client/src/components/ui/Icons.js +++ b/client/src/components/ui/Icons.js @@ -84,10 +84,6 @@ const Icons = () => ( - - - - diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index fb7e54db..9d5c2cf9 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -187,10 +187,6 @@ export const SERVICES = [ id: 'snapchat', name: 'Snapchat', }, - { - id: 'messenger', - name: 'Messenger', - }, { id: 'twitch', name: 'Twitch', diff --git a/home/blocked_services.go b/home/blocked_services.go index 41293b64..cede4d4d 100644 --- a/home/blocked_services.go +++ b/home/blocked_services.go @@ -21,10 +21,9 @@ type svc struct { // client/src/components/ui/Icons.js var serviceRulesArray = []svc{ {"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}}, - {"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^", "||fb.me^", "||fb.com^", "||fbsbx.com^"}}, + {"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^", "||fb.me^", "||fb.com^", "||fbsbx.com^", "||messenger.com^"}}, {"twitter", []string{"||twitter.com^", "||t.co^", "||twimg.com^"}}, {"youtube", []string{"||youtube.com^", "||ytimg.com^", "||youtu.be^", "||googlevideo.com^", "||youtubei.googleapis.com^"}}, - {"messenger", []string{"||fb.com^", "||facebook.com^", "||messenger.com^"}}, {"twitch", []string{"||twitch.tv^", "||ttvnw.net^"}}, {"netflix", []string{"||nflxext.com^", "||netflix.com^"}}, {"instagram", []string{"||instagram.com^", "||cdninstagram.com^"}},