aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-28 20:35:05 -0800
committerzotlabs <mike@macgirvin.com>2018-01-28 20:35:05 -0800
commit56d1614ea6ddfd72df1241a7f2cbe927e38e2a8b (patch)
tree8aefbfcd4fb3ef72d383c440790299b64d218603 /Zotlabs
parentc3e365ef4718e4c9d06eb962cb3deeb9fb39a2d9 (diff)
downloadvolse-hubzilla-56d1614ea6ddfd72df1241a7f2cbe927e38e2a8b.tar.gz
volse-hubzilla-56d1614ea6ddfd72df1241a7f2cbe927e38e2a8b.tar.bz2
volse-hubzilla-56d1614ea6ddfd72df1241a7f2cbe927e38e2a8b.zip
provide a default video image if nothing else is available. Allow sites to change it.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Linkinfo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Linkinfo.php b/Zotlabs/Module/Linkinfo.php
index 78c34583e..3392e4114 100644
--- a/Zotlabs/Module/Linkinfo.php
+++ b/Zotlabs/Module/Linkinfo.php
@@ -120,9 +120,9 @@ class Linkinfo extends \Zotlabs\Web\Controller {
$siteinfo = self::parseurl_getsiteinfo($url);
- // If this is a Red site, use zrl rather than url so they get zids sent to them by default
+ // If the site uses this platform, use zrl rather than url so they get zids sent to them by default
- if( x($siteinfo,'generator') && (strpos($siteinfo['generator'], \Zotlabs\Lib\System::get_platform_name() . ' ') === 0))
+ if(is_matrix_url($url))
$template = str_replace('url','zrl',$template);
if($siteinfo["title"] == "") {