diff options
Diffstat (limited to 'Swiften/Client/ClientSession.h')
-rw-r--r-- | Swiften/Client/ClientSession.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Client/ClientSession.h b/Swiften/Client/ClientSession.h index e15a707..ee3992d 100644 --- a/Swiften/Client/ClientSession.h +++ b/Swiften/Client/ClientSession.h @@ -71,6 +71,10 @@ namespace Swift { allowPLAINOverNonTLS = b; } + void setUseStreamCompression(bool b) { + useStreamCompression = b; + } + bool getStreamManagementEnabled() const { return stanzaAckRequester_; } @@ -134,6 +138,7 @@ namespace Swift { State state; boost::shared_ptr<SessionStream> stream; bool allowPLAINOverNonTLS; + bool useStreamCompression; bool needSessionStart; bool needResourceBind; bool needAcking; |