mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
potentially fixes the "federation" bug w/r/t/ tagged forums
This commit is contained in:
parent
852f102ba3
commit
ae5cd53e1e
1 changed files with 2 additions and 2 deletions
|
@ -2103,9 +2103,9 @@ function tgroup_check($uid,$item) {
|
|||
// check that the message originated elsewhere and is a top-level post
|
||||
// or is a followup and we have already accepted the top level post
|
||||
|
||||
if($arr['mid'] != $arr['parent_mid']) {
|
||||
if($item['mid'] != $item['parent_mid']) {
|
||||
$r = q("select id from item where mid = '%s' and uid = %d limit 1",
|
||||
dbesc($arr['parent_mid']),
|
||||
dbesc($item['parent_mid']),
|
||||
intval($uid)
|
||||
);
|
||||
if($r)
|
||||
|
|
Loading…
Reference in a new issue