aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-10 22:35:09 -0700
committerfriendica <info@friendica.com>2014-09-10 22:35:09 -0700
commit10f6f355d43ee2fea61e1bae9ae257219f0196ee (patch)
tree4735df454f20bf4eb728ec67b35805ed16d23a87 /include/bb2diaspora.php
parentf1539a65e5b157595704bd90194cd1d18d333ff2 (diff)
downloadvolse-hubzilla-10f6f355d43ee2fea61e1bae9ae257219f0196ee.tar.gz
volse-hubzilla-10f6f355d43ee2fea61e1bae9ae257219f0196ee.tar.bz2
volse-hubzilla-10f6f355d43ee2fea61e1bae9ae257219f0196ee.zip
disabling ability for diaspora to plustag redmatrix forums. See the notes.
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 46dc4982a..9c884926a 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -131,7 +131,11 @@ function diaspora2bb($s,$use_zrl = false) {
// $s = preg_replace('/\@\{(.+?)\; (.+?)\@(.+?)\}/','@[url=https://$3/u/$2]$1[/url]',$s);
// first try plustags
- $s = preg_replace_callback('/\@\{(.+?)\; (.+?)\@(.+?)\}\+/','diaspora_mention_callback',$s);
+ // nope don't do it. This will cause mis-attributed messages and runaway delivery chains -
+ // Diaspora doesn't have sufficient delivery loop detection.
+ // Leave the next line commented and leave this description here so future readers will know why.
+ // $s = preg_replace_callback('/\@\{(.+?)\; (.+?)\@(.+?)\}\+/','diaspora_mention_callback',$s);
+
$s = preg_replace_callback('/\@\{(.+?)\; (.+?)\@(.+?)\}/','diaspora_mention_callback',$s);
// Escaping the hash tags - doesn't always seem to work