aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poke.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-15 03:00:08 -0700
committerfriendica <info@friendica.com>2013-04-15 03:00:08 -0700
commit7e6890832b15d8417cb812cbaa00d3ed8c954ef0 (patch)
treeff94dd547504ac2f3a65a18bda3a8804fdb5da43 /mod/poke.php
parentab5151c470e630aa3864bbed927dd02f7b192166 (diff)
downloadvolse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.gz
volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.bz2
volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.zip
turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them)
Diffstat (limited to 'mod/poke.php')
-rwxr-xr-xmod/poke.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/poke.php b/mod/poke.php
index 1738fd8dd..2ccbfbd77 100755
--- a/mod/poke.php
+++ b/mod/poke.php
@@ -104,7 +104,7 @@ function poke_init(&$a) {
$arr['obj_type'] = ACTIVITY_OBJ_PERSON;
$arr['origin'] = 1;
- $arr['body'] = '[url=' . $poster['url'] . ']' . $poster['name'] . '[/url]' . ' ' . t($verbs[$verb][0]) . ' ' . '[url=' . $target['url'] . ']' . $target['name'] . '[/url]';
+ $arr['body'] = '[zrl=' . $poster['url'] . ']' . $poster['name'] . '[/zrl]' . ' ' . t($verbs[$verb][0]) . ' ' . '[zrl=' . $target['url'] . ']' . $target['name'] . '[/zrl]';
$arr['object'] = '<object><type>' . ACTIVITY_OBJ_PERSON . '</type><title>' . $target['name'] . '</title><id>' . $a->get_baseurl() . '/contact/' . $target['id'] . '</id>';
$arr['object'] .= '<link>' . xmlify('<link rel="alternate" type="text/html" href="' . $target['url'] . '" />' . "\n");