(Hopefully) SQL improvements
This commit is contained in:
parent
be9bbe1709
commit
3911c9450b
11 changed files with 34 additions and 35 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue