Fixed possible crash from profile top bar in groups.

This commit is contained in:
23rd
2025-10-23 20:45:14 +03:00
parent 5f42011c7b
commit 61dbd4c4c2
@@ -88,6 +88,14 @@ private:
Data::ForumTopic * const _topic = nullptr;
Data::SavedSublist * const _sublist = nullptr;
bool _inResize = false;
rpl::event_stream<Ui::ScrollToRequest> _scrollToRequests;
rpl::event_stream<int> _desiredHeight;
rpl::variable<bool> _backToggles;
rpl::event_stream<int> _onlineCount;
rpl::event_stream<> _showFinished;
PeerData *_reactionGroup = nullptr;
std::shared_ptr<Data::PhotoMedia> _nonPersonalView;
@@ -100,14 +108,6 @@ private:
bool _aboutVerificationAdded = false;
bool _inResize = false;
rpl::event_stream<Ui::ScrollToRequest> _scrollToRequests;
rpl::event_stream<int> _desiredHeight;
rpl::variable<bool> _backToggles;
rpl::event_stream<int> _onlineCount;
rpl::event_stream<> _showFinished;
};
} // namespace Profile