You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should the ability be present to send notifications without the user authenticating itself?
Currently i use the auth.fetch() method to post notifications, although this should also be possible with a regular POST request?
This could also be useful in the case that there are public inboxes -> does this even exist? that can be read by everyone.
Should the sender always be specified in the notification?
This could for example be done using a creator predicate, or using the activitystreams 2.0 model by wrapping the notification (see code example)
This makes it possible to let user / services set their own actor as jsonld in the config file, to attach any useful information they want to attach to the actor in the wrapper of every notification
"@context": "https://www.w3.org/ns/activitystreams",
"summary": "Alice sent a notification to Bob, with Carol in CC and Dennis in BCC",
"actor": {
"@id": http://alice.example.org",
"@type": "Person" // (Or Service, ... in the case of a service. See link down below. This can be set in the config file)
"object": { WRAPPED NOTIFICATION } ,
"target": "http://bob.example.org",
"cc: [ "http://carol.example.org" ]
"bcc": [ "http://dennis.example.org" ]
I suggest the creation of a JavaScript/TypeScript utility for sending LDNs. Here is a suggested plan of action:
The text was updated successfully, but these errors were encountered: