]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
Merge pull request #11913 from tobiasd/2022.09-CHANGELOG
[friendica.git] / mod / pubsub.php
index 918c55ee14cb817f192232c675ff112ea79792c9..a740b7b81da89c5e03ea6e5d5e03401c0cfbb25d 100644 (file)
@@ -145,7 +145,7 @@ function pubsub_post(App $a)
        }
 
        // We only import feeds from OStatus here
-       if ($contact['network'] != Protocol::OSTATUS) {
+       if (!in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::OSTATUS])) {
                Logger::warning('Unexpected network', ['contact' => $contact]);
                hub_post_return();
        }