Loading CHANGES.md +5 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,11 @@ Version 0.13.4 To be released. - Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow` options when no `-f`/`--follow` option was provided. [[#132]] [#132]: https://github.com/dahlia/fedify/issues/132 Version 0.13.3 -------------- Loading cli/inbox.tsx +3 −1 Original line number Diff line number Diff line Loading @@ -81,10 +81,12 @@ export const command = new Command() }); spinner.start(); const fedCtx = federation.createContext(server.url, -1); if (options.acceptFollow != null && options.acceptFollow.length > 0) { acceptFollows.push(...(options.acceptFollow ?? [])); } if (options.follow != null && options.follow.length > 0) { spinner.text = "Following actors..."; const documentLoader = await fedCtx.getDocumentLoader({ handle: "i" }); acceptFollows.push(...(options.acceptFollow ?? [])); for (const uri of options.follow) { spinner.text = `Following ${colors.green(uri)}...`; const actor = await lookupObject(uri, { documentLoader }); Loading Loading
CHANGES.md +5 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,11 @@ Version 0.13.4 To be released. - Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow` options when no `-f`/`--follow` option was provided. [[#132]] [#132]: https://github.com/dahlia/fedify/issues/132 Version 0.13.3 -------------- Loading
cli/inbox.tsx +3 −1 Original line number Diff line number Diff line Loading @@ -81,10 +81,12 @@ export const command = new Command() }); spinner.start(); const fedCtx = federation.createContext(server.url, -1); if (options.acceptFollow != null && options.acceptFollow.length > 0) { acceptFollows.push(...(options.acceptFollow ?? [])); } if (options.follow != null && options.follow.length > 0) { spinner.text = "Following actors..."; const documentLoader = await fedCtx.getDocumentLoader({ handle: "i" }); acceptFollows.push(...(options.acceptFollow ?? [])); for (const uri of options.follow) { spinner.text = `Following ${colors.green(uri)}...`; const actor = await lookupObject(uri, { documentLoader }); Loading