diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-12 06:28:26 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-12 06:28:26 +0000 |
commit | 2eb921fdbae7be508cdd3e20c67760384d84348e (patch) | |
tree | e3afd9d520b9f8bfd3bb31a5800cf93d613c5514 /protocols/VKontakte/src/vk_proto.cpp | |
parent | c889a87ca723981a7105b2970da9d33a11b96e9d (diff) |
VKontakte:
update vk api version to 5.37
minor change for forward message formating
code cleaning
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@14921 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 7ea79a813a..70facbed3f 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -119,6 +119,8 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) : m_iInvisibleInterval = getDword("InvisibleInterval", 10);
m_bShortenLinksForAudio = getBool("ShortenLinksForAudio", true);
+
+ m_bSplitFormatFwdMsg = getBool("SplitFormatFwdMsg", true);
m_bSetBroadcast = false;
m_bNeedSendOnline = false;
@@ -529,7 +531,7 @@ void CVkProto::OnReceiveAuthRequest(NETLIBHTTPREQUEST *reply, AsyncHttpRequest * setByte(param->hContact, "Auth", 0);
if (iRet == 2) {
CMString msg,
- tszNick = ptrT(db_get_tsa(param->hContact, m_szModuleName, "Nick"));
+ tszNick(ptrT(db_get_tsa(param->hContact, m_szModuleName, "Nick")));
if (tszNick.IsEmpty())
tszNick = TranslateT("(Unknown contact)");
msg.AppendFormat(TranslateT("User %s added as friend"), tszNick);
@@ -579,7 +581,7 @@ int CVkProto::AuthDeny(MEVENT hDbEvent, const TCHAR*) }
int CVkProto::UserIsTyping(MCONTACT hContact, int type)
-{
+{
debugLogA("CVkProto::UserIsTyping");
if (PROTOTYPE_SELFTYPING_ON == type) {
LONG userID = getDword(hContact, "ID", -1);
|