aboutsummaryrefslogtreecommitdiff
path: root/classes/Conversation.php
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2014-07-15 14:26:42 +0200
committerMikael Nordfeldth <mmn@hethane.se>2014-07-15 14:26:42 +0200
commit9afdc407631f1e485cb6d6479734787a935de052 (patch)
tree125cf683ae46a87823925ed6cc19aa74dd725c74 /classes/Conversation.php
parentea8cb21e98b099af744d91831ae2ad0ae87926d0 (diff)
downloadgnu-social-9afdc407631f1e485cb6d6479734787a935de052.tar
gnu-social-9afdc407631f1e485cb6d6479734787a935de052.zip
Show correct number of POSTs in conversation "more" link
Diffstat (limited to 'classes/Conversation.php')
-rwxr-xr-xclasses/Conversation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Conversation.php b/classes/Conversation.php
index 3acc283d62..c8d922a2f0 100755
--- a/classes/Conversation.php
+++ b/classes/Conversation.php
@@ -97,6 +97,7 @@ class Conversation extends Managed_DataObject
$notice = new Notice();
$notice->conversation = $id;
+ $notice->whereAddIn('verb', array(ActivityVerb::POST, ActivityUtils::resolveUri(ActivityVerb::POST, true)), $notice->columnType('verb'));
$cnt = $notice->count();
self::cacheSet($keypart, $cnt);