prose-im / prose-core-client

Prose core XMPP client manager & protocols.
https://prose.org
Mozilla Public License 2.0
23 stars 3 forks source link

Consider the capabilities of other clients and server #23

Open nesium opened 1 year ago

nesium commented 1 year ago

We should of course consider the actual capabilities of other clients/servers. Ideally we'd simply fall back to optional values. So e.g if a Prose SDK consumer requests UserMetadata, local_time and last_activity are already optional but currently both IQs are sent regardless of the receiver's caps.

nesium commented 9 months ago

This also affects communication with the server, the server's MUC service and HTTP upload service. We'll need access to the stream properties in both xmpp-rs and strophe.js