Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added some logic to help pick up extra replies

  • Loading branch information...
commit ca64d80766931255c6f7585a783eea68f92976e4 1 parent 440d426
Andrew Ellis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/social/service/twitter.php
View
2  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;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.