mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix open webpage story action
This commit is contained in:
parent
f3e989dbfa
commit
13d2dd15df
@ -76,7 +76,11 @@ final class ChatMessageWebpageBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
}
|
||||
}
|
||||
if let webpage = webPageContent {
|
||||
item.controllerInteraction.openUrl(webpage.url, false, nil, nil)
|
||||
if webpage.story != nil {
|
||||
let _ = item.controllerInteraction.openMessage(item.message, .default)
|
||||
} else {
|
||||
item.controllerInteraction.openUrl(webpage.url, false, nil, nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user