Fixed draft saving with bot reply in group
This commit is contained in:
parent
e45d679e5e
commit
7be7137fdc
@ -2587,9 +2587,15 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
}
|
||||
}
|
||||
if ($scope.curDialog.peerID) {
|
||||
var replyToMsgID = $scope.draftMessage.replyToMsgID
|
||||
if (replyToMsgID &&
|
||||
$scope.historyState.replyKeyboard &&
|
||||
$scope.historyState.replyKeyboard.mid == replyToMsgID) {
|
||||
replyToMsgID = 0;
|
||||
}
|
||||
DraftsManager.changeDraft($scope.curDialog.peerID, {
|
||||
text: newVal,
|
||||
replyToMsgID: $scope.draftMessage.replyToMsgID
|
||||
replyToMsgID: replyToMsgID
|
||||
})
|
||||
checkInlinePattern(newVal)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user