]> git.mxchange.org Git - friendica.git/commitdiff
Add ♲ symbol
authorMichael <heluecht@pirati.ca>
Sat, 1 Oct 2022 22:36:02 +0000 (22:36 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 1 Oct 2022 22:36:02 +0000 (22:36 +0000)
src/Protocol/ActivityPub/Transmitter.php

index fae9250aac73fc5b78ecb070228b330a144b23d2..96f39e2c167104435d67cc35d8dad64e9264d726 100644 (file)
@@ -1397,7 +1397,7 @@ class Transmitter
                        //      'type'      => 'Link',
                        //      'mediaType' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
                        //      'href'      => $quote_url,
-                       //      'name'      => BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB)
+                       //      'name'      => '♲ ' . BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB)
                        //];
                }
 
@@ -1721,7 +1721,7 @@ class Transmitter
                return BBCode::convertShare(
                        $body,
                        function (array $attributes) {
-                               return $attributes['link'];
+                               return '♲ ' . $attributes['link'];
                        }
                );
        }