summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iq_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_iq_handlers.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iq_handlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp
index 5868e93f82..cfbb8be86a 100644
--- a/protocols/JabberG/src/jabber_iq_handlers.cpp
+++ b/protocols/JabberG/src/jabber_iq_handlers.cpp
@@ -597,11 +597,11 @@ BOOL CJabberProto::OnRosterPushRequest(HXML, CJabberIqInfo *pInfo)
// Add the jid (with empty resource) to Miranda contact list.
hContact = DBCreateContact(jid, nick, FALSE, FALSE);
}
- else JSetStringT(hContact, "jid", jid);
+ else setTString(hContact, "jid", jid);
if (name != NULL) {
DBVARIANT dbnick;
- if ( !JGetStringT(hContact, "Nick", &dbnick)) {
+ if ( !getTString(hContact, "Nick", &dbnick)) {
if (_tcscmp(nick, dbnick.ptszVal) != 0)
db_set_ts(hContact, "CList", "MyHandle", nick);
else
@@ -640,7 +640,7 @@ BOOL CJabberProto::OnRosterPushRequest(HXML, CJabberIqInfo *pInfo)
SetContactOfflineStatus(hContact);
ListRemove(LIST_ROSTER, jid);
} }
- else if (JGetByte(hContact, "ChatRoom", 0))
+ else if (getByte(hContact, "ChatRoom", 0))
db_unset(hContact, "CList", "Hidden");
else
UpdateSubscriptionInfo(hContact, item);