mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-18 07:11:09 -06:00
Fixed a small issue when loading a conversation buffer
This commit is contained in:
parent
64a14c831b
commit
02d94fcea0
@ -1230,6 +1230,8 @@ class conversationBufferController(searchBufferController):
|
|||||||
self.statuses.append(self.tweet)
|
self.statuses.append(self.tweet)
|
||||||
self.ids.append(self.tweet.id)
|
self.ids.append(self.tweet.id)
|
||||||
tweet = self.tweet
|
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:
|
while tweet.in_reply_to_status_id != None:
|
||||||
try:
|
try:
|
||||||
tweet = self.session.twitter.get_status(id=tweet.in_reply_to_status_id, tweet_mode="extended")
|
tweet = self.session.twitter.get_status(id=tweet.in_reply_to_status_id, tweet_mode="extended")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user