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/Twitter/src/chat.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/src/chat.cpp b/protocols/Twitter/src/chat.cpp index 6f463c7f20..83ca3ffbd2 100644 --- a/protocols/Twitter/src/chat.cpp +++ b/protocols/Twitter/src/chat.cpp @@ -24,7 +24,6 @@ along with this program. If not, see . void CTwitterProto::UpdateChat(const twitter_user &update) { CMStringA chatText = update.status.text.c_str(); - chatText.Replace("%", "%%"); GCEVENT gce = { m_si, GC_EVENT_MESSAGE }; gce.dwFlags = GCEF_UTF8 + GCEF_ADDTOLOG; @@ -54,7 +53,6 @@ int CTwitterProto::OnChatOutgoing(WPARAM, LPARAM lParam) debugLogW(L"**Chat - Outgoing message: %s", hook->ptszText); { CMStringA tweet(T2Utf(hook->ptszText).get()); - tweet.Replace("%%", "%"); // the chat plugin will turn "%" into "%%", so we have to change it back :/ char *varTweet = mir_strdup(tweet.c_str()); ForkThread(&CTwitterProto::SendTweetWorker, varTweet); -- cgit v1.2.3