X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fprotocol.h;h=4576080168825e35933ae3c4ff2d55b0e4ffb8e7;hp=bf6c401e339f1bde84a66629708cbcb70322c1bf;hb=53861faa5551606eea31588b65ba501b24fb2e1a;hpb=30fa961d1aca319b52071ad9d6e4527ea2638fb7 diff --git a/src/common/protocol.h b/src/common/protocol.h index bf6c401e..45760801 100644 --- a/src/common/protocol.h +++ b/src/common/protocol.h @@ -57,16 +57,18 @@ struct HandshakeMessage { struct RegisterClient : public HandshakeMessage { - inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false) + inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false, int32_t features = 0) : clientVersion(clientVersion) , buildDate(buildDate) - , sslSupported(sslSupported) {} + , sslSupported(sslSupported) + , clientFeatures(features) {} QString clientVersion; QString buildDate; // this is only used by the LegacyProtocol in compat mode bool sslSupported; + int32_t clientFeatures; };