2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add members list to info profile.

This commit is contained in:
John Preston
2017-09-25 19:06:53 +03:00
parent faeb1483f2
commit f2a5862714
34 changed files with 943 additions and 300 deletions

View File

@@ -31,6 +31,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "window/top_bar_widget.h"
#include "data/data_drafts.h"
#include "ui/widgets/dropdown_menu.h"
#include "ui/focus_persister.h"
#include "chat_helpers/message_field.h"
#include "chat_helpers/stickers.h"
#include "observer_peer.h"
@@ -3028,6 +3029,7 @@ void MainWidget::checkMainSectionToLayer() {
if (!_mainSection) {
return;
}
Ui::FocusPersister persister(this);
if (auto layer = _mainSection->moveContentToLayer(width())) {
dropMainSection(_mainSection);
_controller->showSpecialLayer(