clearing presences and statuses on disconnect of an account

This commit is contained in:
Blue 2019-06-23 14:31:03 +03:00
parent 49aa99d4db
commit 833913cac2
6 changed files with 38 additions and 0 deletions

View file

@ -8,6 +8,7 @@
namespace Models {
class Account : public Item {
Q_OBJECT
public:
explicit Account(const QMap<QString, QVariant> &data, Item *parentItem = 0);
~Account();
@ -50,6 +51,9 @@ namespace Models {
QString error;
Shared::ConnectionState state;
Shared::Availability availability;
protected slots:
void toOfflineState() override;
};
}