summary refs log tree commit diff
path: root/webclient/recents
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-09 11:51:41 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-09 12:47:42 +0200
commitfd2d3fcfd75aa5ca5651caf150fbb6088a940d85 (patch)
tree25519f422e9131e1c6c690bba33a41b2b2f3037b /webclient/recents
parentBF: Made the grey background of the current room cover all the cell width (diff)
downloadsynapse-fd2d3fcfd75aa5ca5651caf150fbb6088a940d85.tar.xz
Removed historical code: recents does not need to manage presences. It is already done by initialSync in eventStreamService
Diffstat (limited to 'webclient/recents')
-rw-r--r--webclient/recents/recents-controller.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/webclient/recents/recents-controller.js b/webclient/recents/recents-controller.js
index 701c935742..efa5160c01 100644
--- a/webclient/recents/recents-controller.js
+++ b/webclient/recents/recents-controller.js
@@ -112,12 +112,6 @@ angular.module('RecentsController', ['matrixService', 'matrixFilter', 'eventHand
                     $rootScope.rooms[room.room_id].numUsersInRoom = numUsersInRoom;
                 }
 
-                var presence = initialSyncData.data.presence;
-                for (var i = 0; i < presence.length; ++i) {
-                    eventHandlerService.handleEvent(presence[i], false);
-                }
-                
-
                 // From now, update recents from the stream
                 listenToEventStream();
             },