Permalink
Browse files

Added some logic to help pick up extra replies

  • Loading branch information...
Andrew Ellis
Andrew Ellis committed Nov 23, 2011
1 parent 440d426 commit ca64d80766931255c6f7585a783eea68f92976e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/social/service/twitter.php
@@ -160,7 +160,7 @@ public function aggregate_by_api(&$post) {
// not a reply to a broadcast
if (!isset($broadcasted_ids[$result->in_reply_to_status_id])) {
// not a reply to an aggregated reply either
- if (!isset($post->aggregated_ids[$this->_key]) or !in_array($result->id, $post->aggregated_ids[$this->_key])) {
+ if (!isset($post->aggregated_ids[$this->_key]) or !in_array($result->in_reply_to_status_id, $post->aggregated_ids[$this->_key])) {
continue;
}
}

0 comments on commit ca64d80

Please sign in to comment.