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

[Help] How to filter all non media tweet #1485

Open
MonoS opened this issue Mar 15, 2023 · 0 comments
Open

[Help] How to filter all non media tweet #1485

MonoS opened this issue Mar 15, 2023 · 0 comments

Comments

@MonoS
Copy link

MonoS commented Mar 15, 2023

Hi, I'd like to filter all non media tweet from one of my timeline, i was able to code it for the "UserTimelineLoader" doing something like this in function loadInBackground in file AbsRequestStatusesLoader and it seems to works fine
image

I then tried doing the same for the main timeline, i've then started debugging from GetHomeTimelineTask arriving to StatusExtensions and i've put a similar code, without the account check, inside Status.applyTo method, the variable is set correctly set but no status are filtered.

I've then tried to understand how the filter works, but i'm unable to find how those are handled, probably because this is my first time developing for android.

Can someone give me some hint on how to proceed?

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

No branches or pull requests

1 participant