mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Open documents-in-web-previews in-app.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user