diff --git a/Telegram/SourceFiles/data/data_forum.cpp b/Telegram/SourceFiles/data/data_forum.cpp index aa8e045097..b202fd0996 100644 --- a/Telegram/SourceFiles/data/data_forum.cpp +++ b/Telegram/SourceFiles/data/data_forum.cpp @@ -70,6 +70,7 @@ Forum::~Forum() { session().storage().unload(Storage::SharedMediaUnloadThread( peerId, rootId)); + _history->setForwardDraft(rootId, {}); } } @@ -181,6 +182,7 @@ void Forum::applyTopicDeleted(MsgId rootId) { session().storage().unload(Storage::SharedMediaUnloadThread( _history->peer->id, rootId)); + _history->setForwardDraft(rootId, {}); } }