diff options
author | aunsane <aunsane@gmail.com> | 2018-01-17 23:11:36 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-17 23:11:36 +0300 |
commit | fc14cd04c3894702603bb4db7e56258608c5c8d7 (patch) | |
tree | 43b5315d3f20090cf4ebb4e5828a573bb6ec6ff7 /protocols/Steam/src/steam_contacts.cpp | |
parent | bf928bd6cfa3df39b4cfda0ff5a5825105cf4a56 (diff) |
Steam: fixed #1106
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 894853f46b..2d11ef2d37 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -369,11 +369,11 @@ void CSteamProto::UpdateContactRelationship(MCONTACT hContact, const JSONNode &d return; json_string relationship = node.as_string(); - if (!mir_strcmp(relationship.c_str(), "friend")) + if (relationship == "friend") ContactIsFriend(hContact); - else if (!mir_strcmp(relationship.c_str(), "ignoredfriend")) + else if (relationship == "ignoredfriend") ContactIsBlocked(hContact); - else if (!mir_strcmp(relationship.c_str(), "requestrecipient")) + else if (relationship == "requestrecipient") ContactIsAskingAuth(hContact); } |