diff options
author | George Hazan <george.hazan@gmail.com> | 2015-10-28 17:34:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-10-28 17:34:49 +0000 |
commit | 162c8ddd463f17d84b7224219119f8acef6ce23d (patch) | |
tree | 0cbb4b0396b5fb92ad8e627069aa2c54161844fa /protocols/JabberG/src | |
parent | 5f5b12be632bffdd96181c0b3280b79227ed04f0 (diff) |
fix for db_unset() calls over resident variables
git-svn-id: http://svn.miranda-ng.org/main/trunk@15637 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 2fadd3420b..078dafc057 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -455,8 +455,6 @@ void CJabberProto::SetContactOfflineStatus(MCONTACT hContact) ResetAdvStatus(hContact, ADVSTATUS_MOOD);
ResetAdvStatus(hContact, ADVSTATUS_TUNE);
-
- //JabberUpdateContactExtraIcon(hContact);
}
void CJabberProto::InitPopups(void)
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index bf467a484b..b9d3223dda 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -136,6 +136,9 @@ CJabberProto::CJabberProto(const char *aProtoName, const TCHAR *aUserName) : m_pepServices.insert(new CPepMood(this));
m_pepServices.insert(new CPepActivity(this));
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSID);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSNAME);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSMSG);
db_set_resident(m_szModuleName, DBSETTING_DISPLAY_UID);
db_set_resident(m_szModuleName, "SubscriptionText");
db_set_resident(m_szModuleName, "Subscription");
|