From 66142639448faf340baed0ac857240eb66f9fae2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Sep 2024 16:51:46 +0300 Subject: =?UTF-8?q?fixes=20#4651=20(NewStory+tabSRMM:=20=D0=A4=D0=BE=D1=80?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=B0=20=D0=BF=D0=BE-?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BD=D0=BE=D0=BC=D1=83=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20=D0=B2=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=D0=B0=D1=85=20=D0=B8=20=D1=87=D0=B0=D1=82?= =?UTF-8?q?=D0=B0=D1=85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/SkypeWeb/src/skype_chatrooms.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 4df199e3f0..0a64587ece 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -328,12 +328,9 @@ void CSkypeProto::SendChatMessage(SESSION_INFO *si, const wchar_t *tszMessage) if (!IsOnline()) return; - wchar_t *buf = NEWWSTR_ALLOCA(tszMessage); - rtrimw(buf); - Chat_UnescapeTags(buf); - T2Utf chat_id(si->ptszID); - ptrA szMessage(mir_utf8encodeW(buf)); + ptrA szMessage(mir_utf8encodeW(tszMessage)); + rtrim(szMessage); if (strncmp(szMessage, "/me ", 4) == 0) PushRequest(new SendChatActionRequest(chat_id, time(0), szMessage)); -- cgit v1.2.3