Skip to content

Commit f985afe

Browse files
committed
Merge tag '0.5.1'
Hollo 0.5.1
2 parents 7e41d16 + 7a7bbb3 commit f985afe

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

CHANGES.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ Version 0.6.0
77
To be released.
88

99

10+
Version 0.5.1
11+
-------------
12+
13+
Released on February 14, 2025.
14+
15+
- Fixed a bug where `GET /api/v1/accounts/:id/statuses` had tried to fetch
16+
remote posts for local accounts. [[#107]]
17+
18+
1019
Version 0.5.0
1120
-------------
1221

@@ -62,6 +71,16 @@ Released on February 12, 2025.
6271
[`GET /api/v1/blocks`]: https://docs.joinmastodon.org/methods/blocks/#get
6372

6473

74+
Version 0.4.7
75+
-------------
76+
77+
Released on February 14, 2025.
78+
79+
- Fixed a bug where `GET /api/v1/accounts/:id/statuses` had tried to fetch
80+
remote posts for local accounts. [[#107]]
81+
- Upgrade Fedify to 1.3.8.
82+
83+
6584
Version 0.4.6
6685
-------------
6786

@@ -181,6 +200,18 @@ Released on December 30, 2024.
181200
[#65]: https://github.com/fedify-dev/hollo/issues/65
182201

183202

203+
Version 0.3.7
204+
-------------
205+
206+
Released on February 14, 2025.
207+
208+
- Fixed a bug where `GET /api/v1/accounts/:id/statuses` had tried to fetch
209+
remote posts for local accounts. [[#107]]
210+
- Upgrade Fedify to 1.3.8.
211+
212+
[#107]: https://github.com/fedify-dev/hollo/issues/107
213+
214+
184215
Version 0.3.6
185216
-------------
186217

src/api/v1/accounts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ app.get(
544544
.select({ cnt: count() })
545545
.from(posts)
546546
.where(eq(posts.accountId, account.id));
547-
if (cnt < REMOTE_ACTOR_FETCH_POSTS) {
547+
if (account.owner == null && cnt < REMOTE_ACTOR_FETCH_POSTS) {
548548
const fedCtx = federation.createContext(c.req.raw, undefined);
549549
await persistAccountPosts(
550550
db,

0 commit comments

Comments
 (0)