From 82af5f627aadcd1e0ee474a41c6fb51bdef6a7b2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jan 2022 20:02:12 +0300 Subject: =?UTF-8?q?fixes=20#3005=20(=D0=9F=D0=BE=D0=B8=D1=81=D0=BA=20?= =?UTF-8?q?=D0=B2=20ICQ=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B2?= =?UTF-8?q?=D1=81=D0=B5=D0=B3=D0=B4=D0=B0=20=D0=BD=D0=B0=D1=85=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D1=82=20=D1=81=D0=B5=D0=B1=D1=8F=20=D1=81=D0=B0=D0=BC?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/ICQ-WIM/src/server.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/ICQ-WIM/src') diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index b1eb751839..7b13cdcb2e 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -1172,6 +1172,9 @@ void CIcqProto::OnSearchResults(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pRe psr.flags = PSR_UNICODE; for (auto &it : results["persons"]) { CMStringW wszId = it["sn"].as_mstring(); + if (wszId == m_szOwnId) + continue; + CMStringW wszNick = it["friendly"].as_mstring(); CMStringW wszFirst = it["firstName"].as_mstring(); CMStringW wszLast = it["lastName"].as_mstring(); -- cgit v1.2.3