Disabled supergroups

This commit is contained in:
Igor Zhukov 2015-11-21 23:56:33 +03:00
parent eb04ecd77b
commit 27059d177a

View File

@ -3175,10 +3175,10 @@ angular.module('myApp.controllers', ['myApp.i18n'])
$scope.chatFull = AppChatsManager.wrapForFull($scope.chatID, chatFull);
$scope.$broadcast('ui_height');
$scope.canMigrate = $scope.chatFull &&
$scope.chatFull.participants &&
$scope.chatFull.participants.participants &&
$scope.chatFull.participants.participants.length >= 200;
// $scope.canMigrate = $scope.chatFull &&
// $scope.chatFull.participants &&
// $scope.chatFull.participants.participants &&
// $scope.chatFull.participants.participants.length >= 200;
if (Config.Modes.test || Config.Modes.debug) {
$scope.canMigrate = true;