X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.h;h=c215590f5498771e4782168f6167bd1a35b672f4;hp=097bd2459501c3eeab188d906743a5f55e98bce2;hb=67e4eb295238453c94da41185bcdb20d908859d6;hpb=ab8127d2193d7d9de9e41b9f454911fdd07e49df diff --git a/src/core/sessionthread.h b/src/core/sessionthread.h index 097bd245..c215590f 100644 --- a/src/core/sessionthread.h +++ b/src/core/sessionthread.h @@ -36,7 +36,7 @@ class SessionThread : public QThread Q_OBJECT public: - SessionThread(UserId user, bool restoreState, QObject *parent = 0); + SessionThread(UserId user, bool restoreState, bool strictIdentEnabled, QObject *parent = 0); ~SessionThread(); void run(); @@ -64,6 +64,9 @@ private: bool _sessionInitialized; bool _restoreState; + /// Whether or not strict ident mode is enabled, locking users' idents to Quassel username + bool _strictIdentEnabled; + bool isSessionInitialized(); void addClientToSession(QObject *peer); void addRemoteClientToSession(RemotePeer *remotePeer);