Improved sorting in conversation buffers

This commit is contained in:
2022-08-17 10:09:32 -05:00
parent b9794806d7
commit fa2d2d9d78
2 changed files with 2 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ class ConversationBuffer(SearchBuffer):
results.extend(reply_results)
except TweepyException as e:
log.exception("There was an error attempting to retrieve tweets for Twitter API V1.1, in conversation buffer {}".format(self.name))
results.sort(key=lambda x: x.id)
return results
def get_replies_v1(self, tweet):