summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-17 23:24:44 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-17 23:24:44 +0300
commit4c3d77032316bc8814cddc00d020ba00d4533999 (patch)
tree1862e30966a69bf94a7288b95baed5b04a040d80 /protocols/Steam/src/main.cpp
parent4b5082aef3817173bc254755c0ec352da064a440 (diff)
Steam:
- contact statuses are back; - contact info is back too; - Miranda's account status is passed to the server; - some old code removed;
Diffstat (limited to 'protocols/Steam/src/main.cpp')
-rw-r--r--protocols/Steam/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/main.cpp b/protocols/Steam/src/main.cpp
index 9e69376684..fcb3b1b9d9 100644
--- a/protocols/Steam/src/main.cpp
+++ b/protocols/Steam/src/main.cpp
@@ -138,6 +138,7 @@ void CMPlugin::InitSteamServices()
messageHandlers[EMsg::ClientLoggedOff] = ServiceResponseHandler(&CSteamProto::OnClientLogoff);
messageHandlers[EMsg::ClientLogOnResponse] = ServiceResponseHandler(&CSteamProto::OnClientLogon);
messageHandlers[EMsg::ClientFriendsList] = ServiceResponseHandler(&CSteamProto::OnGotFriendList);
+ messageHandlers[EMsg::ClientPersonaState] = ServiceResponseHandler(&CSteamProto::OnGotFriendInfo);
// services from steammessages_auth.steamclient.proto
services["Authentication"] = &authentication__descriptor;
@@ -163,6 +164,7 @@ void CMPlugin::InitSteamServices()
serviceHandlers[FriendSendMessage] = ServiceResponseHandler(&CSteamProto::OnMessageSent);
serviceHandlers[FriendGetActiveSessions] = ServiceResponseHandler(&CSteamProto::OnGotConversations);
+ serviceHandlers[FriendGetIncomingMessage] = ServiceResponseHandler(&CSteamProto::OnGotIncomingMessage);
serviceHandlers[NotificationReceived] = ServiceResponseHandler(&CSteamProto::OnGotNotification);
}