diff options
author | George Hazan <george.hazan@gmail.com> | 2024-08-14 21:13:09 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-08-14 21:13:09 +0300 |
commit | cb8d41c2965ebf48b93bc0008db707f6a1b39a88 (patch) | |
tree | 199aefa404c33f38dc6fe2dea2feefd73adec1b5 | |
parent | 0b391df2006b89b5ea9df1115dc695e5f44c26ce (diff) |
fixes #4571 (Skypeweb: "левые" уведомления об окончании набора текста)
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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") {
|