0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-01 10:18:54 +02:00

Use $location.url to open the user profile page. The user page URL is then the one expected: http://127.0.0.1:8000/#/user/@Manu:localhost:8080 insteaf of

http://127.0.0.1:8000/#/user/@Manu:localhost:8080#public:localhost:8080
This commit is contained in:
Emmanuel ROHEE 2014-08-19 09:06:21 +02:00
parent c3f1548bb4
commit f144f8cc56

View file

@ -435,7 +435,7 @@ angular.module('RoomController', ['ngSanitize'])
// Open the user profile page
$scope.goToUserPage = function(user_id) {
$location.path("user/" + user_id);
$location.url("/user/" + user_id);
};
$scope.leaveRoom = function() {