Skip to content
Snippets Groups Projects
Commit ec1cc29e authored by Emmanuel ROHEE's avatar Emmanuel ROHEE
Browse files

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

This reverts commit f286a4fc.
parent f286a4fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
if typically all the $on method would do is update its own $scope.
*/
var toto;
angular.module('eventHandlerService', [])
.factory('eventHandlerService', ['matrixService', '$rootScope', '$q', function(matrixService, $rootScope, $q) {
var ROOM_CREATE_EVENT = "ROOM_CREATE_EVENT";
......@@ -41,9 +38,6 @@ angular.module('eventHandlerService', [])
var InitialSyncDeferred = $q.defer();
toto = $rootScope;
$rootScope.events = {
rooms: {} // will contain roomId: { messages:[], members:{userid1: event} }
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment