Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarding activities #137

Closed
dahlia opened this issue Sep 17, 2024 · 0 comments
Closed

Forwarding activities #137

dahlia opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dahlia
Copy link
Owner

dahlia commented Sep 17, 2024

In inbox listeners, a received activity can be forwarded to the other server, e.g.:

.on(Activity, async (ctx, activity) => {
  await ctx.forwardActivity({ handle: "handle" }, "followers");
})

There should be the InboxContext type as well.

@dahlia dahlia added the enhancement New feature or request label Sep 17, 2024
@dahlia dahlia self-assigned this Sep 17, 2024
@dahlia dahlia closed this as completed in 5c6e139 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant