mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Open documents-in-web-previews in-app.
This commit is contained in:
parent
94ac9f93fa
commit
eaf30d58be
1 changed files with 5 additions and 1 deletions
|
@ -801,7 +801,11 @@ ClickHandlerPtr WebPage::replaceAttachLink(
|
|||
if (!_attach->isReadyForOpen()
|
||||
|| (_siteName.isEmpty()
|
||||
&& _title.isEmpty()
|
||||
&& _description.isEmpty())) {
|
||||
&& _description.isEmpty())
|
||||
|| (_data->document
|
||||
&& !_data->document->isWallPaper()
|
||||
&& !_data->document->isTheme())
|
||||
|| !_data->collage.items.empty()) {
|
||||
return link;
|
||||
}
|
||||
return _openl;
|
||||
|
|
Loading…
Add table
Reference in a new issue