mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-05 03:12:29 -04:00
Removed an unneeded line in streaming tweets management
This commit is contained in:
parent
e10e3b3c49
commit
29c3f1d194
@ -73,5 +73,5 @@ class timelinesStreamer(TwythonStreamer):
|
|||||||
if data["quoted_status"].has_key("extended_tweet"):
|
if data["quoted_status"].has_key("extended_tweet"):
|
||||||
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
|
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
|
||||||
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
|
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
|
||||||
data["full_text"] = data["text"]
|
# data["full_text"] = data["text"]
|
||||||
self.check_tls(data)
|
self.check_tls(data)
|
||||||
|
@ -143,7 +143,7 @@ class streamer(TwythonStreamer):
|
|||||||
if data["quoted_status"].has_key("extended_tweet"):
|
if data["quoted_status"].has_key("extended_tweet"):
|
||||||
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
|
data["quoted_status"]["full_text"] = data["quoted_status"]["extended_tweet"]["full_text"]
|
||||||
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
|
data["quoted_status"]["entities"] = data["quoted_status"]["extended_tweet"]["entities"]
|
||||||
data["full_text"] = data["text"]
|
# data["full_text"] = data["quoted_status"]["full_text"]
|
||||||
if data["user"]["id"] in self.muted_users: return
|
if data["user"]["id"] in self.muted_users: return
|
||||||
self.check_mentions(data)
|
self.check_mentions(data)
|
||||||
self.check_send(data)
|
self.check_send(data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user