Skip to content
Snippets Groups Projects
Commit fa6b3490 authored by David Baker's avatar David Baker
Browse files

Handle call events in the recents view as well to get consistency with what it...

Handle call events in the recents view as well to get consistency with what it displays when refreshed.
parent 4e14e38b
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,11 @@ angular.module('RecentsController', ['matrixService', 'eventHandlerService'])
$scope.rooms[event.room_id].lastMsg = event;
}
});
$scope.$on(eventHandlerService.CALL_EVENT, function(ngEvent, event, isLive) {
if (isLive) {
$scope.rooms[event.room_id].lastMsg = 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