mirror of https://github.com/vector-im/riot-web
Merge pull request #900 from vector-im/dbkr/parse_queries_in_hash
Always parse the hash of a URL as we do elsewherepull/902/head
commit
98551c3f9a
|
@ -94,7 +94,8 @@ function routeUrl(location) {
|
|||
else if (location.hash.indexOf('#/register') == 0) {
|
||||
window.matrixChat.showScreen('register', parseQsFromFragment(location));
|
||||
} else {
|
||||
window.matrixChat.showScreen(location.hash.substring(2));
|
||||
var hashparts = location.hash.split('?');
|
||||
window.matrixChat.showScreen(hashparts[0].substring(2));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue