Minor bugfixes
Fixed reply with sticker Label for mobile group modal Channel authors hidden for now (Close #1123)
This commit is contained in:
parent
8bdebd543d
commit
6bdc5144b0
@ -2657,6 +2657,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
$scope.$broadcast('ui_message_send');
|
||||
|
||||
fwdsSend();
|
||||
resetDraft();
|
||||
}
|
||||
delete $scope.draftMessage.sticker;
|
||||
}
|
||||
|
@ -1190,12 +1190,12 @@ angular.module('myApp.services')
|
||||
|
||||
var fwdHeader = apiMessage.fwd_from;
|
||||
if (fwdHeader) {
|
||||
apiMessage.fwdFromID = fwdHeader.from_id ? fwdHeader.from_id : -fwdHeader.channel_id;
|
||||
apiMessage.fwdFromID = fwdHeader.channel_id ? -fwdHeader.channel_id : fwdHeader.from_id;
|
||||
fwdHeader.date -= serverTimeOffset;
|
||||
}
|
||||
|
||||
apiMessage.toID = toPeerID;
|
||||
apiMessage.fromID = apiMessage.from_id || toPeerID;
|
||||
apiMessage.fromID = apiMessage.pFlags.post ? toPeerID : apiMessage.from_id;
|
||||
|
||||
if (apiMessage.via_bot_id > 0) {
|
||||
apiMessage.viaBotID = apiMessage.via_bot_id;
|
||||
|
@ -70,7 +70,7 @@
|
||||
<a class="mobile_modal_action" ng-click="returnToGroup()" my-i18n="group_modal_return"></a>
|
||||
</div>
|
||||
<div class="mobile_modal_action_wrap" ng-if="chatFull.chat._ == 'chatForbidden'">
|
||||
<a class="mobile_modal_action" ng-click="flushHistory()" my-i18n="group_modal_return"></a>
|
||||
<a class="mobile_modal_action" ng-click="flushHistory()" my-i18n="group_modal_delete_group"></a>
|
||||
</div>
|
||||
<div class="mobile_modal_action_wrap" ng-if="hasRights('edit_photo') && !photo.updating">
|
||||
<span class="mobile_modal_action mobile_modal_upload_action">
|
||||
|
Loading…
Reference in New Issue
Block a user