From e880c14d619a2e7d4675e61d9528ea170b95e1d7 Mon Sep 17 00:00:00 2001
From: 23rd <23rd@vivaldi.net>
Date: Mon, 4 Mar 2019 00:03:31 +0300
Subject: [PATCH] Fixed crash in window resizing when layer is opened.

Regression was introduced in 26f1ade5ba22b2b351b12e3ce8cc179f2e013758.
---
 Telegram/SourceFiles/info/info_section_widget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Telegram/SourceFiles/info/info_section_widget.cpp b/Telegram/SourceFiles/info/info_section_widget.cpp
index 4a9cb66c0..cedd739b1 100644
--- a/Telegram/SourceFiles/info/info_section_widget.cpp
+++ b/Telegram/SourceFiles/info/info_section_widget.cpp
@@ -53,7 +53,7 @@ void SectionWidget::init() {
 	_content->contentChanged(
 	) | rpl::start_with_next([=] {
 		_connecting->raise();
-	}, _content->lifetime());
+	}, _connecting->lifetime());
 }
 
 Dialogs::RowDescriptor SectionWidget::activeChat() const {