]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/implugin.php
Start using NoParentNoticeException more widely
[quix0rs-gnu-social.git] / lib / implugin.php
index 5b0f3dbe092fa42dbd73d01dc3e727392151d1bb..98fba19911ebe8d8ffac6162089fe7c664e4bc4b 100644 (file)
@@ -380,7 +380,7 @@ abstract class ImPlugin extends Plugin
             $parent = $notice->getParent();
             $orig_profile = $parent->getProfile();
             $nicknames = sprintf('%1$s => %2$s', $profile->nickname, $orig_profile->nickname);
-        } catch (Exception $e) {
+        } catch (NoParentNoticeException $e) {
             $nicknames = $profile->nickname;
         }