]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Make "HTTPRequest::curl" dynamic
[friendica.git] / mod / editpost.php
index aa8930e5d027c422c9746d959a72b6d613c2fa05..8bde0329331b1dd3f0e1f427a4b92b82c6561fc3 100644 (file)
@@ -132,6 +132,8 @@ function editpost_content(App $a)
                '$message' => DI::l10n()->t('Message'),
                '$browser' => DI::l10n()->t('Browser'),
                '$shortpermset' => DI::l10n()->t('permissions'),
+
+               '$compose_link_title' => DI::l10n()->t('Open Compose page'),
        ]);
 
        return $o;
@@ -143,7 +145,7 @@ function undo_post_tagging($s) {
        if ($cnt) {
                foreach ($matches as $mtch) {
                        if (in_array($mtch[1], ['!', '@'])) {
-                               $contact = Contact::getDetailsByURL($mtch[2]);
+                               $contact = Contact::getByURL($mtch[2], false, ['addr']);
                                $mtch[3] = empty($contact['addr']) ? $mtch[2] : $contact['addr'];
                        }
                        $s = str_replace($mtch[0], $mtch[1] . $mtch[3],$s);