mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Pass MTP::Instance to MTP::Sender.
This commit is contained in:
@@ -94,7 +94,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class GroupInfoBox : public Ui::BoxContent, private MTP::Sender {
|
||||
class GroupInfoBox : public Ui::BoxContent {
|
||||
public:
|
||||
enum class Type {
|
||||
Group,
|
||||
@@ -124,6 +124,7 @@ private:
|
||||
void updateMaxHeight();
|
||||
|
||||
const not_null<Window::SessionNavigation*> _navigation;
|
||||
MTP::Sender _api;
|
||||
|
||||
Type _type = Type::Group;
|
||||
QString _initialTitle;
|
||||
|
Reference in New Issue
Block a user