From b949dec9f4c767c2a4e20c2965da338cc07216f6 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 29 Mar 2021 20:38:32 +0900 Subject: [PATCH] https://github.com/misskey-dev/misskey/pull/7129#discussion_r602000121 --- src/client/ui/_common_/common.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/client/ui/_common_/common.vue b/src/client/ui/_common_/common.vue index 9c859f568c..d16c782613 100644 --- a/src/client/ui/_common_/common.vue +++ b/src/client/ui/_common_/common.vue @@ -75,11 +75,6 @@ export default defineComponent({ case 'post': return post(data.options); case 'push': - if (data.url.startsWith('/my/messaging')) { - if (router.currentRoute.value.path === data.url) return; - if (ColdDeviceStorage.get('chatOpenBehavior') === 'window') return pageWindow(data.url); - if (ColdDeviceStorage.get('chatOpenBehavior') === 'popout') return popout(data.url); - } if (router.currentRoute.value.path === data.url) { return window.scroll({ top: 0, behavior: 'smooth' }); }