Skip to content

Commit

Permalink
Merge pull request #325 from opentween/fix-no-retweets
Browse files Browse the repository at this point in the history
タイムラインに含まれるRTが表示されない不具合を修正
  • Loading branch information
upsilon authored May 6, 2024
2 parents 5a7349d + 19022dd commit 0a6410e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenTween/Twitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ private PostClass[] CreatePostsFromJson(TwitterStatus[] statuses, bool firstLoad
}

private PostClass[] FilterNoRetweetUserPosts(PostClass[] posts)
=> posts.Where(x => x.RetweetedByUserId == null || this.noRTId.Contains(x.RetweetedByUserId.Value)).ToArray();
=> posts.Where(x => x.RetweetedByUserId == null || !this.noRTId.Contains(x.RetweetedByUserId.Value)).ToArray();

public async Task GetListStatus(ListTimelineTabModel tab, bool more, bool firstLoad)
{
Expand Down

0 comments on commit 0a6410e

Please sign in to comment.