Added link to user profile pages

This commit is contained in:
Emmanuel ROHEE 2014-08-19 08:58:53 +02:00
parent ecfdf23250
commit c3f1548bb4
2 changed files with 6 additions and 1 deletions

View file

@ -433,6 +433,11 @@ angular.module('RoomController', ['ngSanitize'])
});
};
// Open the user profile page
$scope.goToUserPage = function(user_id) {
$location.path("user/" + user_id);
};
$scope.leaveRoom = function() {
matrixService.leave($scope.room_id).then(