OStatus plugin has the same error on line 1270

This commit is contained in:
Diogo Cordeiro 2018-08-06 08:19:08 +01:00
parent f3ebbf472b
commit fcbdf6aef2

View File

@ -226,7 +226,7 @@ class ActivityPubPlugin extends Plugin
} }
try { try {
$aprofile = Activitypub_profile::getKV('profile_id', $profile->id); $aprofile = Activitypub_profile::getKV('profile_id', $profile->id);
} catch (NoResultException $e) { } catch (Exception $e) {
// Not a remote ActivityPub_profile! Maybe some other network // Not a remote ActivityPub_profile! Maybe some other network
// that has imported a non-local user (e.g.: OStatus)? // that has imported a non-local user (e.g.: OStatus)?
return true; return true;