dahlia/fedify

Inbox dispatcher

dahlia opened this issue · 3 comments

For the client to server interactions, like Federation.setOutboxDispatcher(), it would be great if we have Federation.setInboxDispatcher().

I've uploaded a preview version with the Federation.setInboxDispatcher() method to npm and JSR.

What is the difference between an inbox dispatcher and an inbox listener?

@mattes3 The inbox listeners are for listening to activities sent by other servers, and the inbox dispatcher is a collection that exposes the received activities. Normally, you won't need to use an inbox dispatcher, but I added it because the Ghost team wanted to.