[twitter] fix pinned tweets (#2216)
caused by the changes in dffa440ede
This commit is contained in:
@@ -1083,8 +1083,7 @@ class TwitterAPI():
|
|||||||
if pinned_tweet:
|
if pinned_tweet:
|
||||||
pinned_tweet = False
|
pinned_tweet = False
|
||||||
if instructions[-1]["type"] == "TimelinePinEntry":
|
if instructions[-1]["type"] == "TimelinePinEntry":
|
||||||
tweets.append(instructions[-1]["entry"]["content"]
|
tweets.append(instructions[-1]["entry"])
|
||||||
["itemContent"]["tweet_results"]["result"])
|
|
||||||
|
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
esw = entry["entryId"].startswith
|
esw = entry["entryId"].startswith
|
||||||
|
|||||||
Reference in New Issue
Block a user