]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/apiaction.php
Start using NoParentNoticeException more widely
[quix0rs-gnu-social.git] / lib / apiaction.php
index 0eea08bed63f147a4c05b1edaec6fbfc68793cd2..724447f120cbadc7df1c66bd09ee095d597ba0fb 100755 (executable)
@@ -328,7 +328,7 @@ class ApiAction extends Action
             // different story for parenting.
             $parent = $notice->getParent();
             $in_reply_to = $parent->id;
-        } catch (Exception $e) {
+        } catch (NoParentNoticeException $e) {
             $in_reply_to = null;
         }
         $twitter_status['in_reply_to_status_id'] = $in_reply_to;