diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-04 13:33:28 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-04 13:33:28 +0000 |
commit | bd758d5f19e370e8d23e5e1e68342a02a38c57a8 (patch) | |
tree | 846f498ad44327346b9cbabeb1667a88c03e7e63 /protocols/VKontakte | |
parent | 10a684329affeb7fd20c777e1795ad7f212815f5 (diff) |
VKontakte: add crutch for ‘%’ in muc messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@14838 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index 8519dfe2a8..b5dfbba7d8 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -383,6 +383,8 @@ void CVkProto::AppendChatMessage(int id, const JSONNode &jnMsg, bool bIsHistory) tszBody.AppendFormat(_T(": %s (%s)"), TranslateT("chat action not supported"), tszAction);
}
+ tszBody.Replace(_T("%"), _T("%%"));
+
if (cc->m_bHistoryRead) {
if (!jnMsg["title"].isnull())
SetChatTitle(cc, jnMsg["title"].as_mstring());
|