Bugfixes
This commit is contained in:
parent
0cb4a8dec4
commit
2a406f1300
@ -2512,7 +2512,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
return ids
|
||||
})
|
||||
var chatParticipantsPromise
|
||||
if (peerID < 0) {
|
||||
if (peerID < 0 && !AppPeersManager.isBroadcast(peerID)) {
|
||||
if (AppPeersManager.isChannel(peerID)) {
|
||||
chatParticipantsPromise = AppProfileManager.getChannelParticipants(-peerID)
|
||||
} else {
|
||||
|
@ -682,11 +682,11 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
$scope.pinnedMessageID = 0
|
||||
$scope.$emit('ui_height')
|
||||
}
|
||||
var jump = ++$scope.jump
|
||||
if (!AppPeersManager.isChannel(peerID)) {
|
||||
return
|
||||
}
|
||||
var channelID = -peerID
|
||||
var jump = ++$scope.jump
|
||||
AppProfileManager.getChannelPinnedMessage(channelID).then(function (pinnedMessageID) {
|
||||
if (jump != $scope.jump) {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user