Browse Source

Disabled supergroups

master
Igor Zhukov 9 years ago
parent
commit
27059d177a
  1. 8
      app/js/controllers.js

8
app/js/controllers.js

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

Loading…
Cancel
Save