summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-14 15:20:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-14 15:20:12 +0300
commit045d56c1e28bef568aaf619346cdd3417469e786 (patch)
tree36f7c41b2947fc8e7cd2d7ddf8a42decf8f77205 /protocols/Discord/src/menus.cpp
parenteb5e8631d087f8fa6b100caf37331503b9ac4ed4 (diff)
Discord: we don't need that crutch anymore
Diffstat (limited to 'protocols/Discord/src/menus.cpp')
-rw-r--r--protocols/Discord/src/menus.cpp2
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;
}