From 45c8500f286c27a0760ab36b819010091a5cbe15 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 23 Feb 2016 10:22:22 +0000 Subject: [PATCH 1/2] Pass through params for other URLs (in this case, for keypair invite signing urls) --- src/vector/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/index.js b/src/vector/index.js index 0b239557..52cd624c 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -99,7 +99,7 @@ function routeUrl(location) { window.matrixChat.showScreen('register', parseQsFromFragment(location)); } else { var hashparts = location.hash.split('?'); - window.matrixChat.showScreen(hashparts[0].substring(2)); + window.matrixChat.showScreen(hashparts[0].substring(2), parseQsFromFragment(location)); } } From a063efe2503ba6e416b5f3c6ad1072306fab67ab Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 23 Feb 2016 10:57:50 +0000 Subject: [PATCH 2/2] Remove no-longer accurate comment. --- src/vector/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vector/index.js b/src/vector/index.js index 52cd624c..5b5701a5 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -87,8 +87,7 @@ function parseQs(location) { } // Here, we do some crude URL analysis to allow -// deep-linking. We only support registration -// deep-links in this example. +// deep-linking. function routeUrl(location) { var params = parseQs(location); var loginToken = params.loginToken;