From cb8d41c2965ebf48b93bc0008db707f6a1b39a88 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Aug 2024 21:13:09 +0300 Subject: =?UTF-8?q?fixes=20#4571=20(Skypeweb:=20"=D0=BB=D0=B5=D0=B2=D1=8B?= =?UTF-8?q?=D0=B5"=20=D1=83=D0=B2=D0=B5=D0=B4=D0=BE=D0=BC=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BE=D0=B1=20=D0=BE=D0=BA=D0=BE=D0=BD?= =?UTF-8?q?=D1=87=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=BD=D0=B0=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/SkypeWeb/src/skype_messages.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 14832353d4..297439305d 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -113,7 +113,6 @@ bool CSkypeProto::ParseMessage(const JSONNode &node, DB::EventInfo &dbei) return false; } } - else CallService(MS_PROTO_CONTACTISTYPING, dbei.hContact, PROTOTYPE_CONTACTTYPING_OFF); if (strMessageType == "RichText") wszContent = RemoveHtml(wszContent); @@ -164,7 +163,7 @@ void CSkypeProto::ProcessNewMessage(const JSONNode &node) std::string strMessageType = node["messagetype"].as_string(); if (strMessageType == "Control/Typing") { - CallService(MS_PROTO_CONTACTISTYPING, hContact, PROTOTYPE_CONTACTTYPING_INFINITE); + CallService(MS_PROTO_CONTACTISTYPING, hContact, 30); return; } if (strMessageType == "Control/ClearTyping") { -- cgit v1.2.3