aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-17 18:37:19 +0000
committerMario <mario@mariovavti.com>2021-08-17 18:37:19 +0000
commit69d909596a0011ae902f834bd79251136f5d5bba (patch)
treea05f46eeae8ddbf190b9fbeecced792875ff057c
parentdd296e1aaa3c7b992d7ec71a50ce92f74f78ca06 (diff)
downloadvolse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.tar.gz
volse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.tar.bz2
volse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.zip
only redirect to hq if local
-rw-r--r--view/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 1a51652c9..db844a6f0 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -159,13 +159,13 @@ $(document).ready(function() {
let notify_id = $(this).data('notify_id');
let path = $(this)[0].pathname.split('/')[1];
let stateObj = { b64mid: b64mid };
- let singlethread_modules = ['display', 'hq', 'dm'];
+ let singlethread_modules = ['display', 'hq'];
let redirect_modules = ['display', 'notify'];
if(! b64mid && ! notify_id)
return;
- if(redirect_modules.indexOf(path) !== -1) {
+ if(localUser && redirect_modules.indexOf(path) !== -1) {
path = 'hq';
}