summaryrefslogtreecommitdiff
path: root/protocols/Steam
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-31 19:48:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-31 19:48:57 +0300
commit7bb41bcc7824ab4ae248992df3ac82e6b148720f (patch)
treee150a54654f8735e0540ce92b79a521c68037e66 /protocols/Steam
parentbdd6a8a6b981a019e6818230077567b4fb51604c (diff)
useless wrappers removed & replaced with PROTO_INTERFACE method calls
Diffstat (limited to 'protocols/Steam')
-rw-r--r--protocols/Steam/src/steam_history.cpp2
-rw-r--r--protocols/Steam/src/steam_polling.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_history.cpp b/protocols/Steam/src/steam_history.cpp
index d78da4b4bd..987b96ecea 100644
--- a/protocols/Steam/src/steam_history.cpp
+++ b/protocols/Steam/src/steam_history.cpp
@@ -74,6 +74,6 @@ void CSteamProto::OnGotHistoryMessages(const JSONNode &root, void *arg)
if (IsMe(steamId))
recv.flags = PREF_SENT;
- Proto_RecvMessage(hContact, &recv);
+ RecvMsg(hContact, &recv);
}
}
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp
index b2a85ff670..24b9047d9b 100644
--- a/protocols/Steam/src/steam_polling.cpp
+++ b/protocols/Steam/src/steam_polling.cpp
@@ -21,7 +21,7 @@ void CSteamProto::ParsePollData(const JSONNode &data)
recv.timestamp = timestamp;
recv.szMessage = (char*)text.c_str();
recv.flags = PREF_SENT;
- Proto_RecvMessage(hContact, &recv);
+ RecvMsg(hContact, &recv);
}
else if (type == "saytext" || type =="emote") {
json_string text = item["text"].as_string();