From 1279ffffeaadbac1e57073b61bf2da05577af23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Aug 2017 12:51:56 +0200 Subject: Rename UpdateContact to UpdateContactDetails --- protocols/Steam/src/steam_contacts.cpp | 6 +++--- protocols/Steam/src/steam_proto.cpp | 2 +- protocols/Steam/src/steam_proto.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 5ed053fecb..c1f2bc68d3 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -94,7 +94,7 @@ MCONTACT CSteamProto::FindContact(const char *steamId) return hContact; } -void CSteamProto::UpdateContact(MCONTACT hContact, JSONNode *data) +void CSteamProto::UpdateContactDetails(MCONTACT hContact, JSONNode *data) { // set common data JSONNode *node = json_get(data, "personaname"); @@ -573,7 +573,7 @@ void CSteamProto::OnGotUserSummaries(const HttpResponse *response) hContact = AddContact(steamId); } - UpdateContact(hContact, item); + UpdateContactDetails(hContact, item); } json_delete(nroot); } @@ -680,7 +680,7 @@ void CSteamProto::OnAuthRequested(const HttpResponse *response, void *arg) if (!hContact) hContact = AddContact(steamId); - UpdateContact(hContact, nroot); + UpdateContactDetails(hContact, nroot); ContactIsAskingAuth(hContact); } diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index aef0747f81..5ea69328b8 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -104,7 +104,7 @@ MCONTACT CSteamProto::AddToList(int, PROTOSEARCHRESULT* psr) { STEAM_SEARCH_RESULT *ssr = (STEAM_SEARCH_RESULT*)psr; hContact = AddContact(steamId, true); - UpdateContact(hContact, ssr->data); + UpdateContactDetails(hContact, ssr->data); } return hContact; diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index b9d4ca8556..249fd7a9de 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -137,7 +137,7 @@ protected: MCONTACT GetContactFromAuthEvent(MEVENT hEvent); - void UpdateContact(MCONTACT hContact, JSONNode *data); + void UpdateContactDetails(MCONTACT hContact, JSONNode *data); void ProcessContact(std::map::iterator *it, MCONTACT hContact); void ContactIsRemoved(MCONTACT hContact); -- cgit v1.2.3