Compare commits

...

4 Commits
10.6 ... 10.6.1

Author SHA1 Message Date
Mario Vavti
e80de634d3 version 10.6.1 2025-11-21 08:10:44 +01:00
Mario
536f80e50b update changelog
(cherry picked from commit 554577fad7)

Co-authored-by: Mario <mario@mariovavti.com>
2025-11-21 07:08:50 +00:00
Mario
3eeb173efd fix insufficient target attribution for forums - channel_url() requires the channel array not the address
(cherry picked from commit 7cadb43029)

Co-authored-by: Mario <mario@mariovavti.com>
2025-11-21 06:53:05 +00:00
Mario
e90fc6d714 fix quote issue with forums
(cherry picked from commit 866d88de53)

Co-authored-by: Mario <mario@mariovavti.com>
2025-11-07 20:30:35 +00:00
4 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
Hubzilla 10.6.1 (2025-11-21)
- Fix insufficient target attribution for forums
- Fix reshare regression in forum logic
Hubzilla 10.6 (2025-11-04)
Features
- Improved background fetching of replies collection

View File

@@ -637,7 +637,9 @@ class Activity {
$ret['tag'] = $t;
}
if (str_contains($i['body'], '[/share]')) {
// TODO: Do not replace the if the owner is a forum.
// Receivers will not be able to fetch the original in that case.
if (str_contains($i['body'], '[/share]') && !$i['owner']['xchan_pubforum']) {
preg_match_all('/\[share(.*?)\[\/share\]/ism', $i['body'], $all_shares, PREG_SET_ORDER);
$quote_urls = [];

View File

@@ -70,7 +70,7 @@ require_once('include/security.php');
define('PLATFORM_NAME', 'hubzilla');
define('STD_VERSION', '10.6');
define('STD_VERSION', '10.6.1');
define('ZOT_REVISION', '6.0');
define('DB_UPDATE_VERSION', 1264);

View File

@@ -3414,7 +3414,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false
$arr['target'] = [
'id' => str_replace('/item/', '/conversation/', $arr['parent_mid']),
'type' => 'Collection',
'attributedTo' => channel_url($channel['channel_address'])
'attributedTo' => channel_url($channel)
];
$arr['term'] = $item['term'];