mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
display extended retweets properly. Fixes #173
This commit is contained in:
parent
ef2d672b35
commit
3a465f2314
@ -6,7 +6,7 @@
|
|||||||
* In the translator module, the list of available languages is fetched automatically from the provider. That means all of these languages will work and there will not be inconsistencies. Also we've removed the first combo box, because the language is detected automatically by Yandex'S API. ([#153](https://github.com/manuelcortez/TWBlue/issues/153))
|
* In the translator module, the list of available languages is fetched automatically from the provider. That means all of these languages will work and there will not be inconsistencies. Also we've removed the first combo box, because the language is detected automatically by Yandex'S API. ([#153](https://github.com/manuelcortez/TWBlue/issues/153))
|
||||||
* Trending topics, searches and conversation buffers will use mute settings set for the session in wich they were opened. ([#157](https://github.com/manuelcortez/TWBlue/issues/157))
|
* Trending topics, searches and conversation buffers will use mute settings set for the session in wich they were opened. ([#157](https://github.com/manuelcortez/TWBlue/issues/157))
|
||||||
* The Tweet limit is now 280 characters lenght instead 140. It means you can tweet longer tweets. ([#172](https://github.com/manuelcortez/TWBlue/issues/172))
|
* The Tweet limit is now 280 characters lenght instead 140. It means you can tweet longer tweets. ([#172](https://github.com/manuelcortez/TWBlue/issues/172))
|
||||||
* And more. ([#156,](https://github.com/manuelcortez/TWBlue/issues/156) [#163,](https://github.com/manuelcortez/TWBlue/issues/163) [#159,](https://github.com/manuelcortez/TWBlue/issues/159))
|
* And more. ([#156,](https://github.com/manuelcortez/TWBlue/issues/156) [#163,](https://github.com/manuelcortez/TWBlue/issues/163) [#159,](https://github.com/manuelcortez/TWBlue/issues/159) [#173,](https://github.com/manuelcortez/TWBlue/issues/173))
|
||||||
|
|
||||||
## changes in version 0.91 and 0.92
|
## changes in version 0.91 and 0.92
|
||||||
|
|
||||||
|
@ -44,8 +44,10 @@ def compose_tweet(tweet, db, relative_times, show_screen_names=False):
|
|||||||
value = "full_text"
|
value = "full_text"
|
||||||
else:
|
else:
|
||||||
value = "text"
|
value = "text"
|
||||||
# log.exception(tweet.keys())
|
if tweet.has_key("retweeted_status") and value == "full_text":
|
||||||
text = StripChars(tweet[value])
|
text = StripChars(tweet["retweeted_status"][value])
|
||||||
|
else:
|
||||||
|
text = StripChars(tweet[value])
|
||||||
if show_screen_names:
|
if show_screen_names:
|
||||||
user = tweet["user"]["screen_name"]
|
user = tweet["user"]["screen_name"]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user