mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
When quoting a retweet, quote will be in original tweet
This commit is contained in:
parent
9fd9d2a120
commit
c716f4aa96
@ -633,6 +633,9 @@ class baseBufferController(bufferController):
|
||||
self._retweet_with_comment(tweet, id)
|
||||
|
||||
def _retweet_with_comment(self, tweet, id, comment=''):
|
||||
# If quoting a retweet, let's quote the original tweet instead the retweet.
|
||||
if tweet.has_key("retweeted_status"):
|
||||
tweet = tweet["retweeted_status"]
|
||||
if tweet.has_key("full_text"):
|
||||
comments = tweet["full_text"]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user