diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-06-21 17:25:31 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-06-21 17:25:31 +0000 |
commit | 13ec12177636fb42c9692664d0f48bd3be2a7fc0 (patch) | |
tree | 48a33ed40ec1e4dc9c5a8b4aa192ed1ec853c2f1 /protocols/Steam/src/steam_pooling.cpp | |
parent | ee8b6d3e7acadbd3bd87a1c3cfb06e7b7af88c64 (diff) |
Steam: added block command to contact menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@9545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_pooling.cpp')
-rw-r--r-- | protocols/Steam/src/steam_pooling.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp index 48755bbbc2..d780a57210 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_pooling.cpp @@ -112,6 +112,11 @@ void CSteamProto::ParsePollData(JSONNODE *data) case 1:
// ignored
// todo
+ MCONTACT hContact = FindContact(steamId);
+ if (hContact)
+ {
+ setByte(hContact, "Block", 1);
+ }
break;
case 2:
|