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
1 changed files with 124 additions and 124 deletions

View File

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