From a6ba29ac5ea3e7c6fbb005f2ea88ce1df9e1057b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Jul 2024 14:32:44 +0300 Subject: =?UTF-8?q?fixes=20#4533=20(Jabber:=20=D0=B2=D0=B5=D1=80=D1=81?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=9C=D0=B8=D1=80=D0=B0=D0=BD=D0=B4=D1=8B=20?= =?UTF-8?q?=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20?= =?UTF-8?q?=D0=BD=D0=B5=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD?= =?UTF-8?q?=D0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/JabberG/src/jabber_caps.cpp | 4 ++-- protocols/JabberG/src/stdafx.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp index 7c665053b6..65df16081d 100644 --- a/protocols/JabberG/src/jabber_caps.cpp +++ b/protocols/JabberG/src/jabber_caps.cpp @@ -294,7 +294,7 @@ bool CJabberProto::HandleCapsInfoRequest(const TiXmlElement *, CJabberIqInfo *pI CMStringA szName(getMStringA("Identity", "Miranda")); // hidden setting to be entered from dbeditor++ if (m_bAllowVersionRequests) - szName.AppendFormat(" %s", __VERSION_STRING_DOTS); + szName.AppendFormat(" %s", MIRANDA_VERSION_CORE_STRING); query << XCHILD("identity") << XATTR("category", "client") << XATTR("type", "pc") << XATTR("name", szName); for (auto &it : GetSortedFeatStrings(GetOwnCaps())) { @@ -384,7 +384,7 @@ void CJabberProto::UpdateFeatHash() { CMStringA szName(getMStringA("Identity", "Miranda")); // hidden setting to be entered from dbeditor++ if (m_bAllowVersionRequests) - szName.AppendFormat(" %s", __VERSION_STRING_DOTS); + szName.AppendFormat(" %s", MIRANDA_VERSION_CORE_STRING); CMStringA feat_buf(FORMAT, "client/pc//%s<", szName.c_str()); for (auto &it : GetSortedFeatStrings(GetOwnCaps())) { diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index f7d39a2838..e3d575442d 100644 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -86,6 +86,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include #include #include -- cgit v1.2.3