Skip to content

Commit 35cc739

Browse files
committed
Merge tag '0.13.4' into 0.14-maintenance
Fedify 0.13.4
2 parents 76e01ac + d230a7e commit 35cc739

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGES.md

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Version 0.14.3
88

99
To be released.
1010

11+
- Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
12+
options when no `-f`/`--follow` option was provided. [[#132]]
13+
1114

1215
Version 0.14.2
1316
--------------
@@ -125,6 +128,17 @@ Released on August 27, 2024.
125128
[#115]: https://github.com/dahlia/fedify/issues/115
126129

127130

131+
Version 0.13.4
132+
--------------
133+
134+
Released on September 1, 2024.
135+
136+
- Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
137+
options when no `-f`/`--follow` option was provided. [[#132]]
138+
139+
[#132]: https://github.com/dahlia/fedify/issues/132
140+
141+
128142
Version 0.13.3
129143
--------------
130144

cli/inbox.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ export const command = new Command()
8181
});
8282
spinner.start();
8383
const fedCtx = federation.createContext(server.url, -1);
84+
if (options.acceptFollow != null && options.acceptFollow.length > 0) {
85+
acceptFollows.push(...(options.acceptFollow ?? []));
86+
}
8487
if (options.follow != null && options.follow.length > 0) {
8588
spinner.text = "Following actors...";
8689
const documentLoader = await fedCtx.getDocumentLoader({ handle: "i" });
87-
acceptFollows.push(...(options.acceptFollow ?? []));
8890
for (const uri of options.follow) {
8991
spinner.text = `Following ${colors.green(uri)}...`;
9092
const actor = await lookupObject(uri, { documentLoader });

0 commit comments

Comments
 (0)