diff options
author | George Hazan <george.hazan@gmail.com> | 2024-07-21 16:17:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-07-21 16:17:48 +0300 |
commit | 5fd260b7c4c98bfa2d17a301d832a859c2af1f92 (patch) | |
tree | 648dfe9336191c8fafdf7772f376f8e60337388a /include | |
parent | 17b6a94812b2dbf4af29fb5d84064ceb1c7d393e (diff) |
fixes #4555 (Задваиваются контакты протоколов, где есть кэш)
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h index 08a124c2aa..8dc0955a63 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -80,8 +80,8 @@ protected: public:
int m_iStatus; // current protocol status
int m_iDesiredStatus; // status to be set after logging in
- int m_iXStatus; // extanded status
- int m_iVersion; // version 2 or higher designate support of Unicode services
+ uint8_t m_iVersion; // version 2 or higher designate support of Unicode services
+ bool m_bCacheInited; // was cache initialized or not
wchar_t* m_tszUserName; // human readable protocol's name
char* m_szModuleName; // internal protocol name, also its database module name
HANDLE m_hProtoIcon = 0; // icon to be displayed in the account manager
@@ -257,6 +257,8 @@ public: // builds the account's protocol menu
virtual void OnBuildProtoMenu(void);
+ virtual void OnCacheInit(void);
+
// called when an account's contact is added
virtual void OnContactAdded(MCONTACT);
|