From 13ec12177636fb42c9692664d0f48bd3be2a7fc0 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 21 Jun 2014 17:25:31 +0000 Subject: Steam: added block command to contact menu git-svn-id: http://svn.miranda-ng.org/main/trunk@9545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_pooling.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'protocols/Steam/src/steam_pooling.cpp') 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: -- cgit v1.2.3