diff options
Diffstat (limited to 'webclient/home/home-controller.js')
-rw-r--r-- | webclient/home/home-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/home/home-controller.js b/webclient/home/home-controller.js index 0624a8b0e6..f1295560ef 100644 --- a/webclient/home/home-controller.js +++ b/webclient/home/home-controller.js @@ -96,7 +96,7 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen // TODO: factor out the common housekeeping whenever we try to join a room or alias matrixService.roomState(final_room_id).then( function(response) { - eventHandlerService.handleEvents(response, false, true); + eventHandlerService.handleEvents(response.data, false, true); }, function(error) { $scope.feedback = "Failed to get room state for: " + final_room_id; @@ -117,7 +117,7 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen // TODO: factor out the common housekeeping whenever we try to join a room or alias matrixService.roomState(response.room_id).then( function(response) { - eventHandlerService.handleEvents(response, false, true); + eventHandlerService.handleEvents(response.data, false, true); }, function(error) { $scope.feedback = "Failed to get room state for: " + response.room_id; |