Skip to content

Knowing if a downloaded Tweet has been retweeted by the user #24

@GoogleCodeExporter

Description

@GoogleCodeExporter
In TwitterSyncService, method getTweetContentValues() (line 388), a Tweet is 
always marked as not retweeted:
    cv.put(Tweets.COL_RETWEETED, 0);

However, there is a simple way of knowing if the user retweeted a certain 
status:
    tweet.isRetweetedByMe().

Therefore I suggest updating the line to:
    cv.put(Tweets.COL_RETWEETED, tweet.isRetweetedByMe() ? 1 : 0);

Original issue reported on code.google.com by pcalinkin on 23 May 2014 at 2:34

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions