mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-09 14:12:13 +00:00
Wipe the selected room ID on the home screen.
This commit is contained in:
parent
5180285456
commit
0a699df5e8
@ -17,8 +17,8 @@ limitations under the License.
|
||||
'use strict';
|
||||
|
||||
angular.module('HomeController', ['matrixService', 'eventHandlerService', 'RecentsController'])
|
||||
.controller('HomeController', ['$scope', '$location', 'matrixService', 'eventHandlerService', 'modelService',
|
||||
function($scope, $location, matrixService, eventHandlerService, modelService) {
|
||||
.controller('HomeController', ['$scope', '$location', 'matrixService', 'eventHandlerService', 'modelService', 'recentsService',
|
||||
function($scope, $location, matrixService, eventHandlerService, modelService, recentsService) {
|
||||
|
||||
$scope.config = matrixService.config();
|
||||
$scope.public_rooms = [];
|
||||
@ -47,6 +47,8 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
|
||||
user: ""
|
||||
};
|
||||
|
||||
recentsService.setSelectedRoomId(undefined);
|
||||
|
||||
var refresh = function() {
|
||||
|
||||
matrixService.publicRooms().then(
|
||||
|
Loading…
Reference in New Issue
Block a user