Implement UI and serialization logic for sender modes
[quassel.git] / src / core / coreauthhandler.cpp
index aa1d957..c01115f 100644 (file)
@@ -183,8 +183,9 @@ void CoreAuthHandler::handle(const RegisterClient &msg)
     // XXX: FIXME: use client features here: we cannot pass authenticators if the client is too old!
     _peer->dispatch(ClientRegistered(Quassel::features(), configured, backends, useSsl, authenticators));
 
-    _peer->_buildDate = msg.buildDate;
-    _peer->_clientVersion = msg.clientVersion;
+    _peer->setBuildDate(msg.buildDate);
+    _peer->setClientVersion(msg.clientVersion);
+    _peer->setFeatures(Quassel::Features(msg.clientFeatures));
 
     if (_legacy && useSsl)
         startSsl();