broidHQ / integrations

Connect your App to Multiple Messaging Channels with the W3C Open standard.
https://www.broid.ai
GNU Affero General Public License v3.0
745 stars 83 forks source link

inconsistency in broid-schemas object keys #151

Open gregory opened 7 years ago

gregory commented 7 years ago

Overview

Details

broid-schemas use the field "to" to refer to the target of an outbound message, whereas both the activitystream spec & inbound messages schemas refer to is as the "target"

If there is no technical reason behind this choice, it would be nice to see some consistency.

killix commented 7 years ago

Considering the spec, the both can be work

While there are means (based on the action type, actor, object and target of the activity) to infer the primary audience for many types of activities, heuristics do not work in every case and do not provide a means of identifying the secondary audience. The to, cc, bto and bcc properties may be used within an Object to explicitly identify the Primary and Secondary audiences.

reference, dfn-to and dfn-target

We choose to to try to keep the same thinking than peoples/developers can be found in the mail world.

But it's a good point about the consistency... I am not close to updating the schemas if for the community it makes sense (cc @dustinblackman )