summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_history.cpp')
-rw-r--r--protocols/Steam/src/steam_history.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_history.cpp b/protocols/Steam/src/steam_history.cpp
index c94a0d6b0f..839bd66ed0 100644
--- a/protocols/Steam/src/steam_history.cpp
+++ b/protocols/Steam/src/steam_history.cpp
@@ -1,5 +1,17 @@
#include "stdafx.h"
+INT_PTR CSteamProto::SvcCanEmptyHistory(WPARAM hContact, LPARAM)
+{
+ return (hContact && Contact::IsGroupChat(hContact));
+}
+
+INT_PTR CSteamProto::SvcEmptyHistory(WPARAM, LPARAM)
+{
+ return 1;
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
void CSteamProto::SendHistoryRequest(uint64_t accountId, uint32_t startTime)
{
CFriendMessagesGetRecentMessagesRequest request;