diff options
author | dequis <dx@dxzone.com.ar> | 2016-10-02 21:56:35 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-10-02 21:56:35 -0300 |
commit | 58d285a4eec4f921be9de3c51341ef3d8729a999 (patch) | |
tree | c20c52d714ebd75867de4828c81af982132686fa /lib | |
parent | 82e55d202f8152c25b8daa48d1960eede3eee312 (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