diff options
author | friendica <info@friendica.com> | 2014-10-12 21:20:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-12 21:20:08 -0700 |
commit | 41b74dd7ac2c879841873d59423be7d2577b6f87 (patch) | |
tree | eed0acee2d5f8a8a1d113f91bd2809dc8492fbe2 /include/bb2diaspora.php | |
parent | 084cddb32c58b7e26ff5080bab4a5c5073eeca39 (diff) | |
download | volse-hubzilla-41b74dd7ac2c879841873d59423be7d2577b6f87.tar.gz volse-hubzilla-41b74dd7ac2c879841873d59423be7d2577b6f87.tar.bz2 volse-hubzilla-41b74dd7ac2c879841873d59423be7d2577b6f87.zip |
diaspora_send_status() - recalculate markdown translation to pickup any later message changes after original submission like wall-to-wall attributions for instance. Normally this would've come from our cached version which was stored prior to tag_deliver being run and therefore isn't yet aware that wall-to-wall status may have changed after delivery.
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r-- | include/bb2diaspora.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index a80b3343b..76708143b 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -294,9 +294,9 @@ function bb2diaspora_itemwallwall(&$item) { } -function bb2diaspora_itembody($item) { +function bb2diaspora_itembody($item,$force_update = false) { - if($item['diaspora_meta']) { + if(($item['diaspora_meta']) && (! $force_update)) { $diaspora_meta = json_decode($item['diaspora_meta'],true); if($diaspora_meta) { if(array_key_exists('iv',$diaspora_meta)) { |