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

Added auto-closing to some boxes which depend on certain message.

This commit is contained in:
23rd
2020-10-20 23:25:42 +03:00
committed by John Preston
parent bc7975ece7
commit bc8f8bc68c
4 changed files with 23 additions and 1 deletions

View File

@@ -231,6 +231,8 @@ public:
[[nodiscard]] rpl::producer<not_null<const History*>> historyUnloaded() const;
[[nodiscard]] rpl::producer<not_null<const HistoryItem*>> itemRemoved() const;
[[nodiscard]] rpl::producer<not_null<const HistoryItem*>> itemRemoved(
FullMsgId itemId) const;
void notifyViewRemoved(not_null<const ViewElement*> view);
[[nodiscard]] rpl::producer<not_null<const ViewElement*>> viewRemoved() const;
void notifyHistoryCleared(not_null<const History*> history);