diff --git a/NotificationContent/Info.plist b/NotificationContent/Info.plist
index def5291df2..fc4fb2678a 100644
--- a/NotificationContent/Info.plist
+++ b/NotificationContent/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/NotificationService/Info.plist b/NotificationService/Info.plist
index ff3b9530b1..de5dc6bfcd 100644
--- a/NotificationService/Info.plist
+++ b/NotificationService/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Share/Info.plist b/Share/Info.plist
index 9ca0244ac4..a28ea585bc 100644
--- a/Share/Info.plist
+++ b/Share/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/SiriIntents/Info.plist b/SiriIntents/Info.plist
index db4a9902b3..2a6a05825c 100644
--- a/SiriIntents/Info.plist
+++ b/SiriIntents/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Telegram-iOS/Info.plist b/Telegram-iOS/Info.plist
index 1a8de0bd71..1c01c0b648 100644
--- a/Telegram-iOS/Info.plist
+++ b/Telegram-iOS/Info.plist
@@ -185,7 +185,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleSignature
????
CFBundleURLTypes
diff --git a/Watch/App/Info.plist b/Watch/App/Info.plist
index fe81e58b75..a24eeb4c0d 100644
--- a/Watch/App/Info.plist
+++ b/Watch/App/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
UISupportedInterfaceOrientations
diff --git a/Watch/Extension/Info.plist b/Watch/Extension/Info.plist
index ef838bd935..7d5914d543 100644
--- a/Watch/Extension/Info.plist
+++ b/Watch/Extension/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Widget/Info.plist b/Widget/Info.plist
index 3660ec2d30..74ebe90850 100644
--- a/Widget/Info.plist
+++ b/Widget/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.9
+ 5.9.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/submodules/TelegramCore/TelegramCore/TelegramPeerNotificationSettings.swift b/submodules/TelegramCore/TelegramCore/TelegramPeerNotificationSettings.swift
index 154d1b922b..aa6e6fa00a 100644
--- a/submodules/TelegramCore/TelegramCore/TelegramPeerNotificationSettings.swift
+++ b/submodules/TelegramCore/TelegramCore/TelegramPeerNotificationSettings.swift
@@ -136,9 +136,9 @@ public enum PeerNotificationDisplayPreviews {
case .default:
encoder.encodeInt32(0, forKey: "p.v")
case .show:
- encoder.encodeInt32(0, forKey: "p.v")
+ encoder.encodeInt32(1, forKey: "p.v")
case .hide:
- encoder.encodeInt32(0, forKey: "p.v")
+ encoder.encodeInt32(2, forKey: "p.v")
}
}
}
diff --git a/submodules/TelegramUI/TelegramUI/ChatMessageAvatarAccessoryItem.swift b/submodules/TelegramUI/TelegramUI/ChatMessageAvatarAccessoryItem.swift
index 9aaed1628c..b5c777c419 100644
--- a/submodules/TelegramUI/TelegramUI/ChatMessageAvatarAccessoryItem.swift
+++ b/submodules/TelegramUI/TelegramUI/ChatMessageAvatarAccessoryItem.swift
@@ -67,6 +67,10 @@ final class ChatMessageAvatarAccessoryItemNode: ListViewAccessoryItemNode {
}
func setPeer(account: Account, theme: PresentationTheme, synchronousLoad:Bool, peer: Peer, authorOfMessage: MessageReference?, emptyColor: UIColor) {
- self.avatarNode.setPeer(account: account, theme: theme, peer: peer, authorOfMessage: authorOfMessage, emptyColor: emptyColor, synchronousLoad: synchronousLoad)
+ var overrideImage: AvatarNodeImageOverride?
+ if peer.isDeleted {
+ overrideImage = .deletedIcon
+ }
+ self.avatarNode.setPeer(account: account, theme: theme, peer: peer, authorOfMessage: authorOfMessage, overrideImage: overrideImage, emptyColor: emptyColor, synchronousLoad: synchronousLoad)
}
}
diff --git a/submodules/TelegramUI/TelegramUI/MediaInputPaneTrendingItem.swift b/submodules/TelegramUI/TelegramUI/MediaInputPaneTrendingItem.swift
index 04cf0a09bf..571d79455c 100644
--- a/submodules/TelegramUI/TelegramUI/MediaInputPaneTrendingItem.swift
+++ b/submodules/TelegramUI/TelegramUI/MediaInputPaneTrendingItem.swift
@@ -114,6 +114,7 @@ final class TrendingTopItemNode: ASDisplayNode {
self?.imageNode.alpha = 0.0
}
animationNode.setup(account: account, resource: item.file.resource, width: 160, height: 160, mode: .cached)
+ self.loadDisposable.set(freeMediaFileResourceInteractiveFetched(account: account, fileReference: stickerPackFileReference(item.file), resource: item.file.resource).start())
} else {
self.imageNode.setSignal(chatMessageSticker(account: account, file: item.file, small: true, synchronousLoad: synchronousLoads), attemptSynchronously: synchronousLoads)
@@ -121,8 +122,8 @@ final class TrendingTopItemNode: ASDisplayNode {
self.animationNode = nil
currentAnimationNode.removeFromSupernode()
}
+ self.loadDisposable.set(freeMediaFileResourceInteractiveFetched(account: account, fileReference: stickerPackFileReference(item.file), resource: chatMessageStickerResource(file: item.file, small: true)).start())
}
- self.loadDisposable.set(freeMediaFileResourceInteractiveFetched(account: account, fileReference: stickerPackFileReference(item.file), resource: chatMessageStickerResource(file: item.file, small: true)).start())
}
func updatePreviewing(animated: Bool, isPreviewing: Bool) {