QXmpp::Connection::SessionStarted Struct

struct QXmpp::Connection::SessionStarted
Header: #include <QXmppClientExtension.h>
Since: QXmpp 1.18

Detailed Description

Hook run when a new session has been established, before QXmppClient::connected() is emitted.

A session spans all streams that continue it via XEP-0198: Stream Management resumption, so the hook is not run when a stream has been resumed. Handlers can request the state of the account here, e.g. the roster, or join rooms again.

See also QXmpp::Connection::SessionEnded.