mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Create only one EmojiImageLoader to fix a crash.
This commit is contained in:
@@ -200,7 +200,7 @@ void System::clearFromHistory(not_null<History*> history) {
|
||||
void System::clearFromSession(not_null<Main::Session*> session) {
|
||||
_manager->clearFromSession(session);
|
||||
|
||||
for (auto i = _whenMaps.begin(), e = _whenMaps.end(); i != e;) {
|
||||
for (auto i = _whenMaps.begin(); i != _whenMaps.end();) {
|
||||
const auto history = i->first;
|
||||
if (&history->session() == session) {
|
||||
history->clearNotifications();
|
||||
|
Reference in New Issue
Block a user