]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Hacky method to avoid cutting conversation "more" link out
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 21 Mar 2016 01:42:28 +0000 (02:42 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 21 Mar 2016 01:42:28 +0000 (02:42 +0100)
lib/threadednoticelistitem.php

index 7e72f6aa232164162166a515ad16eeed4ba0417a..81b9d2defd39cb5e0c8b2a8d61a8daccd2d8337d 100644 (file)
@@ -61,6 +61,11 @@ class ThreadedNoticeListItem extends NoticeListItem
                         // Skip!
                         continue;
                     }
+
+                    if (!$notice->isVerb([ActivityVerb::POST])) {
+                        continue;
+                    }
+
                     $cnt++;
                     if ($cnt > $max) {
                         // boo-yah