summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-28 12:01:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-28 12:01:09 +0000
commit2e2d9de08e3eb747f88cd3a9aeb750a3c34078a7 (patch)
tree7b0774375566185dc27d708b2d7aadd8f9a81eca /protocols/JabberG/src/jabber_util.cpp
parentae3cee537d478fba0f32e561a12d62213a85a4d5 (diff)
code adaptation for getTStringA
git-svn-id: http://svn.miranda-ng.org/main/trunk@5508 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index 7f3a953551..f9d7f926e0 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -752,7 +752,7 @@ void CJabberProto::SendPresenceTo(int status, TCHAR* to, HXML extra, const TCHAR
ptrA hashValue( getStringA("AvatarHash"));
if (hashValue != NULL) // XEP-0153: vCard-Based Avatars
x << XCHILD(_T("photo"), _A2T(hashValue));
- else
+ else
x << XCHILD(_T("photo"));
}
@@ -918,7 +918,7 @@ TCHAR* CJabberProto::GetClientJID(HANDLE hContact, TCHAR *dest, size_t destLen)
if (hContact == NULL)
return NULL;
- ptrT jid( db_get_tsa(hContact, m_szModuleName, "jid"));
+ ptrT jid( getTStringA(hContact, "jid"));
return GetClientJID(jid, dest, destLen);
}