summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-20 12:51:56 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-20 12:51:56 +0200
commit1279ffffeaadbac1e57073b61bf2da05577af23b (patch)
treefffe0b551590c730c391a86b7c7c7fa770f6f9f8 /protocols/Steam/src/steam_contacts.cpp
parent47847fafba59c20ecde3e7ece4bf4fac57b99439 (diff)
Rename UpdateContact to UpdateContactDetails
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp6
1 files changed, 3 insertions, 3 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);
}