]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/threadednoticelist.php
If there's no Happening, we can't use the RSVP.
[quix0rs-gnu-social.git] / lib / threadednoticelist.php
index acb9efb972efd702b9ba5a3c3a82b3809cd39ec3..ebf0a460897069db61f43398e403e5905ee3b932 100644 (file)
@@ -195,7 +195,7 @@ class ThreadedNoticeListItem extends NoticeListItem
     function showEnd()
     {
         $max = $this->initialItems();
-        if (!$this->repeat) {
+        if (!$this->repeat instanceof Notice) {
             $stream = new ConversationNoticeStream($this->notice->conversation, $this->userProfile);
             $notice = $stream->getNotices(0, $max + 2);
             $notices = array();