Start using NoParentNoticeException more widely

This commit is contained in:
Mikael Nordfeldth
2015-06-02 13:50:52 +02:00
parent c84b21008e
commit 0726dcd06c
5 changed files with 8 additions and 8 deletions

View File

@@ -354,7 +354,7 @@ class XmppPlugin extends ImPlugin
$xs->text(": ");
} catch (InvalidUrlException $e) {
$xs->text(sprintf(' => %s', $orig_profile->nickname));
} catch (Exception $e) {
} catch (NoParentNoticeException $e) {
$xs->text(": ");
}
if (!empty($notice->rendered)) {