diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-14 15:20:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-14 15:20:12 +0300 |
commit | 045d56c1e28bef568aaf619346cdd3417469e786 (patch) | |
tree | 36f7c41b2947fc8e7cd2d7ddf8a42decf8f77205 /protocols/Discord/src/menus.cpp | |
parent | eb5e8631d087f8fa6b100caf37331503b9ac4ed4 (diff) |
Discord: we don't need that crutch anymore
Diffstat (limited to 'protocols/Discord/src/menus.cpp')
-rw-r--r-- | protocols/Discord/src/menus.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/Discord/src/menus.cpp b/protocols/Discord/src/menus.cpp index 8ebf50613b..6a5d06316e 100644 --- a/protocols/Discord/src/menus.cpp +++ b/protocols/Discord/src/menus.cpp @@ -80,10 +80,8 @@ INT_PTR CDiscordProto::OnMenuLoadHistory(WPARAM hContact, LPARAM) { auto *pUser = FindUser(getId(hContact, DB_KEY_ID)); if (pUser) { - pUser->bSkipHistory = true; RetrieveHistory(pUser, MSG_AFTER, 0, 100); delSetting(hContact, DB_KEY_LASTMSGID); - pUser->bSkipHistory = false; } return 0; } |