Mercurial > libervia-backend
diff doc/components.rst @ 3790:24f70a29e382
doc (components): typo/spelling
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Jun 2022 14:15:23 +0200 |
parents | cebfdfff3e99 |
children | 29380ef68dbe |
line wrap: on
line diff
--- a/doc/components.rst Fri Jun 17 14:15:23 2022 +0200 +++ b/doc/components.rst Fri Jun 17 14:15:23 2022 +0200 @@ -475,22 +475,22 @@ The gateway can convert AP publications to either XMPP pubsub items (using `XEP-0277 (Microblogging over XMPP)`_ when suitable) or to XMPP messages (`<message>` stanzas, i.e. -the ones used for instant messaging). Of course it also convert in a similar way in the +the ones used for instant messaging). Of course it also converts in a similar way in the other direction (XMPP → ActivityPub). -A received AP items will be converted to an XMPP pubsub item if any of the following -condition is fulfilled: +A received AP item will be converted to an XMPP pubsub item if any of the following +conditions is fulfilled: - it is addressed to the special `*public* collection`_ - it is addressed to a local *followers* collection -A received AP item will be convert to an XMPP message if all the following condition are -fulfilled: +A received AP item will be converted to an XMPP message if all the following conditions +are fulfilled: - it is **not** addressed to the special *public* collection - it is **not** addressed to a any local *followers* collection. -In other words, if an AP items is addressed directly to one or more local users, is not +In other words, if an AP item is addressed directly to one or more local users, is not public and is not addressed to a *followers* collection, it will be converted to an XMPP message, otherwise it will be converted to an XMPP pubsub item.