|
|
@ -871,6 +871,13 @@ angular.module('myApp.controllers', []) |
|
|
|
$scope.photo = AppPhotosManager.wrapForFull($scope.photoID); |
|
|
|
$scope.photo = AppPhotosManager.wrapForFull($scope.photoID); |
|
|
|
$scope.nav = {}; |
|
|
|
$scope.nav = {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$scope.messageID) { |
|
|
|
|
|
|
|
$scope.nav.next = function () { |
|
|
|
|
|
|
|
$modalInstance.close(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var peerID = AppMessagesManager.getMessagePeer(AppMessagesManager.getMessage($scope.messageID)), |
|
|
|
var peerID = AppMessagesManager.getMessagePeer(AppMessagesManager.getMessage($scope.messageID)), |
|
|
|
inputPeer = AppPeersManager.getInputPeerByID(peerID), |
|
|
|
inputPeer = AppPeersManager.getInputPeerByID(peerID), |
|
|
|
inputQuery = '', |
|
|
|
inputQuery = '', |
|
|
@ -996,6 +1003,7 @@ angular.module('myApp.controllers', []) |
|
|
|
$scope.progress = {enabled: false}; |
|
|
|
$scope.progress = {enabled: false}; |
|
|
|
$scope.player = {}; |
|
|
|
$scope.player = {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.forward = function () { |
|
|
|
$scope.forward = function () { |
|
|
|
var messageID = $scope.messageID; |
|
|
|
var messageID = $scope.messageID; |
|
|
|
PeersSelectService.selectPeer().then(function (peerString) { |
|
|
|
PeersSelectService.selectPeer().then(function (peerString) { |
|
|
|