mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
duplicated items (sort of, item/activity confusion in message id)
This commit is contained in:
parent
e6845e859c
commit
44a192adc6
2 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ class ThreadItem
|
|||
$edpost = false;
|
||||
}
|
||||
|
||||
if (local_channel() && $observer['xchan_hash'] === $item['owner_xchan']) {
|
||||
if (local_channel() && ($observer['xchan_hash'] === $item['owner_xchan'] || $observer['xchan_hash'] === $item['author_xchan'])) {
|
||||
$myconv = true;
|
||||
} else {
|
||||
$myconv = false;
|
||||
|
|
|
@ -112,7 +112,7 @@ class Share extends Controller
|
|||
$arr['item_wall'] = $item['item_wall'];
|
||||
$arr['uuid'] = new_uuid();
|
||||
$arr['mid'] = z_root() . '/item/' . $arr['uuid'];
|
||||
$arr['mid'] = str_replace('/item/', '/activity/', $arr['mid']);
|
||||
// $arr['mid'] = str_replace('/item/', '/activity/', $arr['mid']);
|
||||
$arr['parent_mid'] = $item['mid'];
|
||||
|
||||
$mention = '@[zrl=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/zrl]';
|
||||
|
|
Loading…
Reference in a new issue