Search code examples
xmppsmackasmack

Server capabilities - XMPP


While using smack I am getting "Client State Indication not supported by server". I just wanted to know if server capabilities are likely to be changed with each connection. Example - If am using stream resumption , it is possible that sometimes connection doesn't support stream.


Solution

  • Of course features can change - servers can be upgraded or reconfigured. You'll have to be able to deal with this.

    However, note that XEP-0198 stream resumption is not advertised using XEP-0115 Entity Capabilities, but as a stream feature. This means that the server always informs you whether it supports 0198 before you have to send the <resume/> and support for the feature can not change while you are connected.