I’m sorry, I don’t understand. Could you elaborate a bit more? Why can the condition (which condition?) not be true? “core re-visit for reading the accepted zip format from server”?
it seems the “accept != null” always null regardless of the compression enabled or disabled in openfire server
line 80 – “fromSessionInit” ----- is a function in jbosh/CMSessionParams.java at master · igniterealtime/jbosh · GitHub
which is responsible for collecting the session parameters which puts the value “accept” assuming server will respond with such stanza
CMSessionParams.java ---- I assume this code needs to be revisited or the session params should be updated somewhere else based on the XMPP SASL lifecycle