mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
All extended tweets should be handled successfully
This commit is contained in:
parent
a1ccdd6bf4
commit
72b4873dce
@ -13,7 +13,7 @@ if system == "Windows":
|
||||
import trendingTopics
|
||||
import user
|
||||
import listsController
|
||||
from issueReporter import issueReporter
|
||||
# from issueReporter import issueReporter
|
||||
elif system == "Linux":
|
||||
from gtkUI import (view, commonMessageDialogs)
|
||||
from twitter import utils, compose
|
||||
|
@ -137,7 +137,7 @@ class streamer(TwythonStreamer):
|
||||
elif "text" in data and utils.is_allowed(data, self.session.settings["twitter"]["ignored_clients"]) == True:
|
||||
if data.has_key("extended_tweet"):
|
||||
data["full_text"] = data["extended_tweet"]["full_text"]
|
||||
# data["entities"].extend(data["extended_tweet"]["entities"])
|
||||
data["entities"] = data["extended_tweet"]["entities"]
|
||||
# log.error(data["extended_tweet"])
|
||||
# log.error("Extended tweet")
|
||||
if data["user"]["id"] in self.muted_users: return
|
||||
|
Loading…
Reference in New Issue
Block a user