aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-24 02:36:45 -0700
committerfriendica <info@friendica.com>2015-03-24 02:36:45 -0700
commitc024668cf226da7211aaa8cdd04293cf00b8901c (patch)
tree49cf9f788e4d6e325e87dc465e2b4559df68be43 /include/diaspora.php
parent37f0bd6c9d98fa57e13dc569ba59332b380471e6 (diff)
downloadvolse-hubzilla-c024668cf226da7211aaa8cdd04293cf00b8901c.tar.gz
volse-hubzilla-c024668cf226da7211aaa8cdd04293cf00b8901c.tar.bz2
volse-hubzilla-c024668cf226da7211aaa8cdd04293cf00b8901c.zip
catche edge case of tag "@abcdef +1", which tags the first entry in your abook, regardless of abcdef. This holds true for other similar patterns as well.
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 1e0e48a86..405fa1e40 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -843,7 +843,7 @@ function diaspora_post($importer,$xml,$msg) {
// Look for tags and linkify them
- $results = linkify_tags(get_app(), $body, $importer['channel_id']);
+ $results = linkify_tags(get_app(), $body, $importer['channel_id'], true);
$datarray['term'] = array();
@@ -1062,7 +1062,7 @@ function diaspora_reshare($importer,$xml,$msg) {
$datarray = array();
// Look for tags and linkify them
- $results = linkify_tags(get_app(), $body, $importer['channel_id']);
+ $results = linkify_tags(get_app(), $body, $importer['channel_id'], true);
$datarray['term'] = array();
@@ -1397,7 +1397,7 @@ function diaspora_comment($importer,$xml,$msg) {
$datarray = array();
// Look for tags and linkify them
- $results = linkify_tags(get_app(), $body, $importer['channel_id']);
+ $results = linkify_tags(get_app(), $body, $importer['channel_id'], true);
$datarray['term'] = array();