Reinitialize room when creating a RoomController so that we start off with a clean slate, as it expects/

This commit is contained in:
Erik Johnston 2014-08-22 10:50:10 +01:00
parent dde50d4245
commit 74c90f7815
2 changed files with 13 additions and 1 deletions

View file

@ -316,6 +316,8 @@ angular.module('RoomController', ['ngSanitize', 'mUtilities'])
};
var onInit2 = function() {
eventHandlerService.reInitRoom($scope.room_id);
// Join the room
matrixService.join($scope.room_id).then(
function() {