Bump version

This commit is contained in:
Isaac
2025-06-13 20:42:13 +08:00
parent 0a30a0ee56
commit f1efac862b
2 changed files with 6 additions and 2 deletions

View File

@@ -83,7 +83,11 @@ public final class ChatMessageSuggestedPostInfoNode: ASDisplayNode {
//TODO:localize
let titleText: String
if !item.message.effectivelyIncoming(item.context.account.peerId) {
titleText = "You suggest to post\nthis message."
if item.message.attributes.contains(where: { $0 is ReplyMessageAttribute }) {
titleText = "You suggest a new price,\ntime and text for this message."
} else {
titleText = "You suggest to post\nthis message."
}
} else {
if item.message.author is TelegramChannel {
titleText = "**\(item.message.author.flatMap(EnginePeer.init)?.compactDisplayTitle ?? " ")** suggests a new price,\ntime, and text for your message."