summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_archive.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-09 22:02:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-09 22:02:18 +0000
commitd5d50b471277d5d69f59a8f29bf87201149ce191 (patch)
tree92d10ad5b0a1116ba08eca98cf025cb07578784e /protocols/JabberG/src/jabber_archive.cpp
parent9dd56da9d9ccbce2f1e1539acb5cfcad7650916a (diff)
applied protocol helpers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_archive.cpp')
-rw-r--r--protocols/JabberG/src/jabber_archive.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_archive.cpp b/protocols/JabberG/src/jabber_archive.cpp
index 5e6f742547..af44cfad07 100644
--- a/protocols/JabberG/src/jabber_archive.cpp
+++ b/protocols/JabberG/src/jabber_archive.cpp
@@ -42,7 +42,7 @@ void CJabberProto::RetrieveMessageArchive(HANDLE hContact, JABBER_LIST_ITEM *pIt
XmlNodeIq iq(_T("get"), iqId);
HXML list = iq << XCHILDNS( _T("list"), _T(JABBER_FEAT_ARCHIVE)) << XATTR(_T("with"), pItem->jid);
- time_t tmLast = JGetDword(hContact, "LastCollection", 0);
+ time_t tmLast = getDword(hContact, "LastCollection", 0);
if (tmLast) {
TCHAR buf[40];
list << XATTR(_T("start"), time2str(tmLast, buf, SIZEOF(buf)));
@@ -79,7 +79,7 @@ void CJabberProto::OnIqResultGetCollectionList(HXML iqNode)
if ((hContact = HContactFromJID(with)) == NULL)
continue;
- tmLast = JGetDword(hContact, "LastCollection", 0);
+ tmLast = getDword(hContact, "LastCollection", 0);
}
int iqId = SerialNext();
@@ -91,7 +91,7 @@ void CJabberProto::OnIqResultGetCollectionList(HXML iqNode)
time_t tmThis = str2time(start);
if ( tmThis > tmLast) {
tmLast = tmThis;
- JSetDword(hContact, "LastCollection", tmLast+1);
+ setDword(hContact, "LastCollection", tmLast+1);
}
}
}