Highlight the current room in the recents list

This commit is contained in:
Emmanuel ROHEE 2014-08-27 17:20:41 +02:00
parent 7ee5288849
commit d9155b6a25
4 changed files with 16 additions and 2 deletions

View file

@ -327,6 +327,9 @@ angular.module('RoomController', ['ngSanitize', 'mUtilities'])
var onInit2 = function() {
eventHandlerService.reInitRoom($scope.room_id);
// Make recents highlight the current room
$scope.recentsSelectedRoomID = $scope.room_id;
// Join the room
matrixService.join($scope.room_id).then(
function() {