Fixed a small issue when loading a conversation buffer

This commit is contained in:
Manuel Cortez 2021-06-28 00:36:53 -05:00
parent 64a14c831b
commit 02d94fcea0

View File

@ -1230,6 +1230,8 @@ class conversationBufferController(searchBufferController):
self.statuses.append(self.tweet)
self.ids.append(self.tweet.id)
tweet = self.tweet
if not hasattr(tweet, "in_reply_to_status_id"):
tweet.in_reply_to_status_id = None
while tweet.in_reply_to_status_id != None:
try:
tweet = self.session.twitter.get_status(id=tweet.in_reply_to_status_id, tweet_mode="extended")