diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 11c27885ca..62d73180bb 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1735,7 +1735,7 @@ void CJabberProto::OnProcessPresence(HXML node, ThreadData* info) if ((item = ListGetItemPtr(LIST_ROSTER, from)) == NULL || (item->subscription != SUB_BOTH && item->subscription != SUB_TO)) {
Log("Try adding contact automatically jid = %S", from);
if ((hContact = AddToListByJID(from, 0)) != NULL) {
- db_set_ts(hContact, "CList", "Nick", tszNick);
+ setTString(hContact, "Nick", tszNick);
db_unset(hContact, "CList", "NotOnList");
}
}
|