diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-12-29 03:01:27 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-12-29 03:01:27 +0000 |
commit | cc18d9391b12c7746083de3e93f6348d866efec7 (patch) | |
tree | 59f25959c2b7a21a7aa2e30b9b25b72c20e837e8 /protocols/VKontakte/src/misc.cpp | |
parent | 533a0aa0576ed31f1840c099267a34330952c4e8 (diff) |
VKontakte:
update VK_API version to 5.42
add [code] bbc for forwarding messages
load unread message for muc on connect
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@15961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index c02477735e..aab000491f 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -847,6 +847,9 @@ CMString CVkProto::SetBBCString(LPCTSTR ptszString, BBCSupport iBBC, VKBBCType b { vkbbcU, bbcNo, _T("%s") },
{ vkbbcU, bbcBasic, _T("[u]%s[/u]") },
{ vkbbcU, bbcAdvanced, _T("[u]%s[/u]") },
+ { vkbbcCode, bbcNo, _T("%s") },
+ { vkbbcCode, bbcBasic, _T("%s") },
+ { vkbbcCode, bbcAdvanced, _T("[code]%s[/code]") },
{ vkbbcImg, bbcNo, _T("%s") },
{ vkbbcImg, bbcBasic, _T("[img]%s[/img]") },
{ vkbbcImg, bbcAdvanced, _T("[img]%s[/img]") },
@@ -1139,7 +1142,7 @@ CMString CVkProto::GetFwdMessages(const JSONNode &jnMessages, const JSONNode &jn tcSplit,
SetBBCString(TranslateT("at"), iBBC, vkbbcB),
ttime,
- tszBody);
+ SetBBCString(tszBody, iBBC, vkbbcCode));
if (!res.IsEmpty())
res.AppendChar(_T('\n'));
|