When clicking on the account switcher on the bottom of the sidebar
automatically go to the last-used chat from that account Fix #356
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <uriresolver.h>
|
||||
#include <KConfig>
|
||||
|
||||
class NeoChatRoom;
|
||||
|
||||
@@ -96,9 +97,12 @@ Q_SIGNALS:
|
||||
void warning(const QString &title, const QString &message);
|
||||
|
||||
private:
|
||||
void openRoomForActiveConnection();
|
||||
|
||||
NeoChatRoom *m_currentRoom;
|
||||
NeoChatRoom *m_lastCurrentRoom;
|
||||
QString m_arg;
|
||||
KConfig m_config;
|
||||
};
|
||||
|
||||
Q_GLOBAL_STATIC(RoomManager, roomManager)
|
||||
|
||||
Reference in New Issue
Block a user