aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-10-02 21:56:35 -0300
committerdequis <dx@dxzone.com.ar>2016-10-02 21:56:35 -0300
commit58d285a4eec4f921be9de3c51341ef3d8729a999 (patch)
treec20c52d714ebd75867de4828c81af982132686fa /lib
parent82e55d202f8152c25b8daa48d1960eede3eee312 (diff)
twitter: fix quoted tweet expansion in extended tweets
The outermost entities object only contains the url of the compat tweet, the one linking to /i/web/status/[...] The inner entities object, inside the "extended_tweet", is the one that contains the quoted tweet url that we're supposed to replace. But expand_entities() assumed that the quoted_status object would be next to entities, which doesn't apply in the case of extended tweets. So now it gets an extra parameter to look for entities.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions