mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix channel author signature display in Saved Messages
This commit is contained in:
parent
45977d6bb9
commit
35190aea2d
@ -49,7 +49,7 @@ func stringForMessageTimestampStatus(accountPeerId: PeerId, message: Message, da
|
||||
if let author = message.author as? TelegramUser {
|
||||
if let peer = message.peers[message.id.peerId] as? TelegramChannel, case .broadcast = peer.info {
|
||||
authorTitle = author.displayTitle(strings: strings, displayOrder: nameDisplayOrder)
|
||||
} else if let forwardInfo = message.forwardInfo {
|
||||
} else if let forwardInfo = message.forwardInfo, forwardInfo.sourceMessageId?.peerId.namespace == Namespaces.Peer.CloudChannel {
|
||||
authorTitle = forwardInfo.authorSignature
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user