mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-14 16:46:22 +00:00
Fix gallery footer author
This commit is contained in:
@@ -437,7 +437,7 @@ final class ChatItemGalleryFooterContentNode: GalleryFooterContentNode, UIScroll
|
||||
|
||||
var authorNameText: String?
|
||||
|
||||
if let author = message.author {
|
||||
if let author = message.effectiveAuthor {
|
||||
authorNameText = author.displayTitle
|
||||
} else if let peer = message.peers[message.id.peerId] {
|
||||
authorNameText = peer.displayTitle
|
||||
|
||||
Reference in New Issue
Block a user