Merge pull request #4411 from annando/exception-bugfix

Quickfix: Removed exception since it blocked message delivery
This commit is contained in:
Hypolite Petovan 2018-02-07 08:34:57 -05:00 committed by GitHub
commit daa9c2b2e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ class Protocol
$network = self::matchByProfileUrl($profile_url, $matches); $network = self::matchByProfileUrl($profile_url, $matches);
if ($network === self::PHANTOM) { if ($network === self::PHANTOM) {
throw new Exception('Unknown network for profile URL: ' . $profile_url); return "";
} }
$addr = $matches[2] . '@' . $matches[1]; $addr = $matches[2] . '@' . $matches[1];