SolidOS/solid-panes

how to send chat invitations

Opened this issue · 5 comments

The data browser does not (yet) support inviting others to a chat, or getting invited to a chat, but other chat apps do. An important question is, should such invitations be sent to the "global" LDN inbox of the user's profile document? Or to some more specific LDN inbox?

We should say something about this in https://github.com/solid/solid-panes/blob/master/Documentation/conventions.md

cc @james-martin-jd

apart from global vs topic inboxes, we discussed message signing vs message linking, mentioning that when messages are processed server-side, it's potentially more efficient to check signatures than to follow hyperlinks

i personally think that Solid apps will typically run in the browser, rather than behind server-side Kafka or RabbitMQ queues, and therefore I would prefer to use hyperlinks, instead of signatures (although both could work, i guess)

Robustness applies.

Two general approaches that are equally useful. Assuming that discovery always starts from a WebID:
a. LDN based. Discover a WebID's inbox...
b. Type registry based. Discover an app specific inbox from public/privateTypeIndex...

Both are useful. An agent may not be aware of a particular (class of chat) app, so an agent's inbox is usually safe bet. An agent may be aware of a class of "chat" (like) apps, so decides to signal that through the registry.

IMO, a good rule of thumb for apps is to make effort to exhaust most common options. It is pretty wild out there.. and things change.