diff options
author | Mario <mario@mariovavti.com> | 2024-01-22 09:09:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-22 09:09:41 +0000 |
commit | b0664f7349c60183f0cb9597bd02b741d3c165c8 (patch) | |
tree | 4fa48e0c3b2761e0dc6d132f45a236ee838061c1 /include/items.php | |
parent | 9cfd1c231843214351c81273622e848af4db7a45 (diff) | |
download | volse-hubzilla-b0664f7349c60183f0cb9597bd02b741d3c165c8.tar.gz volse-hubzilla-b0664f7349c60183f0cb9597bd02b741d3c165c8.tar.bz2 volse-hubzilla-b0664f7349c60183f0cb9597bd02b741d3c165c8.zip |
store the original announce actor (the one that pushed the item into our stream first) in source_xchan instead of owner_xchan. this way we will preserve the real owner for the thread and not have conflicts when dealing with deletes of comments or likes
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 6cef3d2cd..d628fb29e 100644 --- a/include/items.php +++ b/include/items.php @@ -1837,7 +1837,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) { dbesc($r[0]['parent_mid']), intval($arr['uid']) ); - if($z && count($z)) + if($z) $r = $z; } |