2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Display occupied chats using drafts for support.

This commit is contained in:
John Preston
2018-11-15 19:36:04 +04:00
parent 60103f7ad6
commit 4960e08a24
20 changed files with 429 additions and 95 deletions

View File

@@ -22,6 +22,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mainwindow.h"
#include "auth_session.h"
#include "apiwrap.h"
#include "support/support_helper.h"
#include "styles/style_window.h"
#include "styles/style_dialogs.h"
@@ -50,6 +51,10 @@ Controller::Controller(not_null<MainWindow*> window)
startRoundVideo(item);
}
}, lifetime());
if (Auth().supportMode()) {
Auth().supportHelper().registerWindow(this);
}
}
void Controller::setActiveChatEntry(Dialogs::RowDescriptor row) {