Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed bug that caused some retweets to be rendered incorrectly #909

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PrivacyDevel
Copy link
Contributor

Some retweets have been truncated and displayed as "regular tweets" from the retweeter instead of a proper retweet.
In these cases the tweet message started with "RT @original_tweeter_handle".

Apparently there is a "tweet" element between the "legacy" and the "retweeted_status_result"."result" element sometimes. The "result" has the "__typename" "TweetWithVisibilityResults" when that is the case. Otherwise "__typename" is just "Tweet".

This might only be related to authentication based instances as this is where I have observed this kind of behaviors. But it might not be limited to it.

It looks like this kind of behaviour has already been observed and handled in a different spot in the nitter code base but unfortunately this check does not catch this case yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant