diff options
author | friendica <info@friendica.com> | 2015-01-21 16:06:25 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-21 16:06:25 -0800 |
commit | 29436081a86650e7905a79eba4fdf7dc12f1c7c9 (patch) | |
tree | 2f7e69d1cd55267bdc9eb604d1084e3d2f6ebc88 /include/bb2diaspora.php | |
parent | 51848c619080e19cace647966a17eb9a1b42ca25 (diff) | |
download | volse-hubzilla-29436081a86650e7905a79eba4fdf7dc12f1c7c9.tar.gz volse-hubzilla-29436081a86650e7905a79eba4fdf7dc12f1c7c9.tar.bz2 volse-hubzilla-29436081a86650e7905a79eba4fdf7dc12f1c7c9.zip |
slow progress removing bitfields on item table
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r-- | include/bb2diaspora.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 5c93ac3aa..e8f81aec4 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -271,22 +271,6 @@ function bb2diaspora_itemwallwall(&$item) { . $item['body']; } - // We have to do something similar for wall-to-wall comments. ITEM_WALL|ITEM_ORIGIN indicates that it was posted on this site. - // Regular matrix comments may have one of these bits set, but not both. - - // Update: this is getting triggered way too often and unnecessarily. Commenting out until we find a better solution. - // It's not an easy problem. For now we'll live with the mis-attributions, as wall to wall comments are much less frequent - // than wall-to-wall posts. - -// if(($item['mid'] != $item['parent_mid']) && ($item['author_xchan'] != $item['owner_xchan']) && (($item['item_flags'] & (ITEM_WALL|ITEM_ORIGIN)) == (ITEM_WALL|ITEM_ORIGIN)) && (is_array($item['author'])) && $item['author']['xchan_url'] && $item['author']['xchan_name'] && $item['author']['xchan_photo_m']) { -// logger('bb2diaspora_itemwallwall: wall to wall comment',LOGGER_DEBUG); - // post will come across with the owner's identity. Throw a preamble onto the post to indicate the true author. -// $item['body'] = "\n\n" -// . '[img]' . $item['author']['xchan_photo_m'] . '[/img]' -// . '[url=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/url]' . "\n\n" -// . $item['body']; -// } - // $item['author'] might cause a surprise further down the line if it wasn't expected to be here. if(! $author_exists) |