mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 18:55:02 -04:00
Highlight the current room in the recents list
This commit is contained in:
parent
7ee5288849
commit
d9155b6a25
4 changed files with 16 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue