From: Mikael Nordfeldth Date: Mon, 21 Mar 2016 01:42:28 +0000 (+0100) Subject: Hacky method to avoid cutting conversation "more" link out X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cdcf6cdb25a68a7374abf30bd9fb71655b0a3f9f;p=quix0rs-gnu-social.git Hacky method to avoid cutting conversation "more" link out --- diff --git a/lib/threadednoticelistitem.php b/lib/threadednoticelistitem.php index 7e72f6aa23..81b9d2defd 100644 --- a/lib/threadednoticelistitem.php +++ b/lib/threadednoticelistitem.php @@ -61,6 +61,11 @@ class ThreadedNoticeListItem extends NoticeListItem // Skip! continue; } + + if (!$notice->isVerb([ActivityVerb::POST])) { + continue; + } + $cnt++; if ($cnt > $max) { // boo-yah