diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-05 15:51:34 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-05 15:53:44 +0200 |
commit | ec1cc29ecbc03e968789d799fbc2054468a36147 (patch) | |
tree | c2af96e471b27e96afabfb1b169c0fcea0545831 /webclient | |
parent | Fixed empty display name (content.displayname in a room member can be null) (diff) | |
download | synapse-ec1cc29ecbc03e968789d799fbc2054468a36147.tar.xz |
Revert "Fixed empty display name (content.displayname in a room member can be null)"
This reverts commit f286a4fcd46ff6c2c42a8732d004d8188aaa65f8.
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/components/matrix/event-handler-service.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js index 79d352a7c4..ee478d2eb0 100644 --- a/webclient/components/matrix/event-handler-service.js +++ b/webclient/components/matrix/event-handler-service.js @@ -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} } }; |