|
|
@ -2196,6 +2196,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
$scope.$broadcast('ui_message_send'); |
|
|
|
$scope.$broadcast('ui_message_send'); |
|
|
|
} |
|
|
|
} |
|
|
|
delete $scope.draftMessage.sticker; |
|
|
|
delete $scope.draftMessage.sticker; |
|
|
|
|
|
|
|
resetDraft(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function onCommandSelected (command) { |
|
|
|
function onCommandSelected (command) { |
|
|
@ -2203,8 +2204,10 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
AppMessagesManager.sendText($scope.curDialog.peerID, command); |
|
|
|
AppMessagesManager.sendText($scope.curDialog.peerID, command); |
|
|
|
|
|
|
|
resetDraft(); |
|
|
|
delete $scope.draftMessage.sticker; |
|
|
|
delete $scope.draftMessage.sticker; |
|
|
|
delete $scope.draftMessage.text; |
|
|
|
delete $scope.draftMessage.text; |
|
|
|
|
|
|
|
delete $scope.draftMessage.command; |
|
|
|
$scope.$broadcast('ui_message_send'); |
|
|
|
$scope.$broadcast('ui_message_send'); |
|
|
|
$scope.$broadcast('ui_peer_draft'); |
|
|
|
$scope.$broadcast('ui_peer_draft'); |
|
|
|
} |
|
|
|
} |
|
|
|