]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Xmpp/XmppPlugin.php
update from upstream
[quix0rs-gnu-social.git] / plugins / Xmpp / XmppPlugin.php
index 04101a8e2b933f15d6f6c06de104b7d8c63b514a..8c700bae8b67d40ddcc246a61d4444d474c856a6 100644 (file)
@@ -351,6 +351,9 @@ class XmppPlugin extends ImPlugin
             $xs->text(sprintf(' => %s', $orig_profile->nickname));
         } catch (NoParentNoticeException $e) {
             $xs->text(": ");
+        } catch (NoResultException $e) {
+            // Parent notice was probably deleted.
+            $xs->text(": ");
         }
         if (!empty($notice->rendered)) {
             $notice->rendered = str_replace("\t", "", $notice->rendered);