mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
one more tweak
This commit is contained in:
parent
806bcb349a
commit
e478d54ef8
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Inbox extends Controller
|
|||
// There is a flaw here if both attributedTo entities have followers on this site, but I think in practice
|
||||
// they will normally follow the group and not the actor. Will deal with that paradox another day, probably by
|
||||
// duplicating the payload and delivering to each.
|
||||
elseif (str_contains($AS->actor,'/accounts/peertube') && !empty($AS->obj['attributedTo']) && is_array($AS->obj['attributedTo'])) {
|
||||
elseif (str_contains($AS->actor,'/accounts/peertube') && !empty($AS->obj['attributedTo']) && is_array($AS->obj['attributedTo']) && $act->type !== 'View') {
|
||||
foreach ($AS->obj['attributedTo'] as $actor) {
|
||||
if (!empty($actor['id'])) {
|
||||
$tmp = q("SELECT * from channel where channel_id in
|
||||
|
|
Loading…
Reference in a new issue