2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fixed a keeping online status after application quit.

Fixes https://github.com/telegramdesktop/tdesktop/issues/5528.
This commit is contained in:
23rd
2019-01-31 23:36:15 +03:00
committed by John Preston
parent 27528d084f
commit 769923c6cc
3 changed files with 39 additions and 1 deletions

View File

@@ -300,6 +300,8 @@ public:
void notify_userIsBotChanged(UserData *bot);
void notify_historyMuteUpdated(History *history);
bool isQuitPrevent();
~MainWidget();
signals:
@@ -445,6 +447,9 @@ private:
void viewsIncrementDone(QVector<MTPint> ids, const MTPVector<MTPint> &result, mtpRequestId req);
bool viewsIncrementFail(const RPCError &error, mtpRequestId req);
void updateStatusDone(const MTPBool &result);
bool updateStatusFail(const RPCError &error);
void refreshResizeAreas();
template <typename MoveCallback, typename FinishCallback>
void createResizeArea(