==== Unreleased
* NEW: Misskeyでのノート投稿時のファイル添付に対応しました
- 追加で必要な権限があるため、前バージョンから使用している Misskey アカウントは再度追加し直す必要があります
+ * FIX: Favoritesタブが空のまま更新されない不具合を修正
==== Ver 3.14.0(2024/06/11)
* NEW: メインアカウント以外のホームタイムライン表示に対応
var cursorTop = response.CursorTop;
var cursorBottom = response.CursorBottom;
- var posts = this.account.Legacy.CreatePostsFromJson(statuses, firstLoad);
+ var posts = this.account.Legacy.CreatePostsFromJson(statuses, firstLoad, favTweet: true);
var filter = new TimelineResponseFilter(this.account.AccountState);
posts = filter.Run(posts);
.ConfigureAwait(false);
var (cursorTop, cursorBottom) = GetCursorFromResponse(statuses);
- var posts = this.account.Legacy.CreatePostsFromJson(statuses, firstLoad);
+ var posts = this.account.Legacy.CreatePostsFromJson(statuses, firstLoad, favTweet: true);
var filter = new TimelineResponseFilter(this.account.AccountState);
posts = filter.Run(posts);
}
internal PostClass[] CreatePostsFromJson(TwitterStatus[] statuses, bool firstLoad)
+ => this.CreatePostsFromJson(statuses, firstLoad, favTweet: false);
+
+ internal PostClass[] CreatePostsFromJson(TwitterStatus[] statuses, bool firstLoad, bool favTweet)
{
- var posts = statuses.Select(x => this.CreatePostsFromStatusData(x, firstLoad)).ToArray();
+ var posts = statuses.Select(x => this.CreatePostsFromStatusData(x, firstLoad, favTweet)).ToArray();
TwitterPostFactory.AdjustSortKeyForPromotedPost(posts);