Merge branch 'beta'

This commit is contained in:
Ali 2020-10-15 00:28:54 +04:00
commit 3add0f8c0b
3 changed files with 10 additions and 6 deletions

View File

@ -108,7 +108,7 @@ verifysanity_beta_testflight:
artifacts:
when: on_failure
paths:
- build/verifysanity_artifacts
- build/artifacts
expire_in: 1 week
verify_beta_testflight:
@ -126,5 +126,5 @@ verify_beta_testflight:
artifacts:
when: on_failure
paths:
- build/verify_artifacts
- build/artifacts
expire_in: 1 week

View File

@ -2,6 +2,13 @@
set -e
COMMIT_COMMENT="$(git log -1 --pretty=%B)"
case "$COMMIT_COMMENT" in
*"[nodeploy]"*)
exit 0
;;
esac
CONFIGURATION="$1"
if [ -z "$CONFIGURATION" ]; then

View File

@ -281,10 +281,7 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
var consumableContentIcon: UIImage?
for attribute in message.attributes {
if let attribute = attribute as? ConsumableContentMessageAttribute {
var isConsumed = attribute.consumed
if let channel = message.peers[message.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
isConsumed = true
}
let isConsumed = attribute.consumed
if !isConsumed {
if incoming {
consumableContentIcon = PresentationResourcesChat.chatBubbleConsumableContentIncomingIcon(presentationData.theme.theme)