Revert "Fixed empty display name (content.displayname in a room member can be null)"

This reverts commit f286a4fcd4.
This commit is contained in:
Emmanuel ROHEE 2014-09-05 15:51:34 +02:00
parent f286a4fcd4
commit ec1cc29ecb
1 changed files with 0 additions and 6 deletions

View File

@ -26,9 +26,6 @@ Typically, this service will store events or broadcast them to any listeners
(e.g. controllers) via $broadcast. Alternatively, it may update the $rootScope (e.g. controllers) via $broadcast. Alternatively, it may update the $rootScope
if typically all the $on method would do is update its own $scope. if typically all the $on method would do is update its own $scope.
*/ */
var toto;
angular.module('eventHandlerService', []) angular.module('eventHandlerService', [])
.factory('eventHandlerService', ['matrixService', '$rootScope', '$q', function(matrixService, $rootScope, $q) { .factory('eventHandlerService', ['matrixService', '$rootScope', '$q', function(matrixService, $rootScope, $q) {
var ROOM_CREATE_EVENT = "ROOM_CREATE_EVENT"; var ROOM_CREATE_EVENT = "ROOM_CREATE_EVENT";
@ -41,9 +38,6 @@ angular.module('eventHandlerService', [])
var InitialSyncDeferred = $q.defer(); var InitialSyncDeferred = $q.defer();
toto = $rootScope;
$rootScope.events = { $rootScope.events = {
rooms: {} // will contain roomId: { messages:[], members:{userid1: event} } rooms: {} // will contain roomId: { messages:[], members:{userid1: event} }
}; };