parent
90ec9c4d44
commit
c62d167019
@ -1595,10 +1595,11 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
}
|
}
|
||||||
if (target.className &&
|
if (target.className &&
|
||||||
target.className.indexOf('im_message_date') != -1) {
|
target.className.indexOf('im_message_date') != -1) {
|
||||||
if ($scope.historyState.canReply) {
|
if (AppPeersManager.isChannel(peerID) &&
|
||||||
selectedReply(messageID)
|
!AppPeersManager.isMegagroup(peerID)) {
|
||||||
} else {
|
|
||||||
quickForward(messageID)
|
quickForward(messageID)
|
||||||
|
} else {
|
||||||
|
selectedReply(messageID)
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -942,7 +942,11 @@ angular.module('myApp.services')
|
|||||||
return $q.reject()
|
return $q.reject()
|
||||||
}
|
}
|
||||||
var message = getMessage(fullMsgID)
|
var message = getMessage(fullMsgID)
|
||||||
if (!message || !message.pFlags || !message.pFlags.post) {
|
var channel = AppChatsManager.getChat(channelID)
|
||||||
|
if (!message ||
|
||||||
|
!message.pFlags ||
|
||||||
|
!message.pFlags.post ||
|
||||||
|
!channel.username) {
|
||||||
return $q.reject()
|
return $q.reject()
|
||||||
}
|
}
|
||||||
return MtpApiManager.invokeApi('channels.exportMessageLink', {
|
return MtpApiManager.invokeApi('channels.exportMessageLink', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user