diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-06-19 14:48:33 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-06-19 14:48:33 +0300 |
| commit | 9439b05189ce9db2cbe552796995cf67126af308 (patch) | |
| tree | 0b360ab24a0f7e3969b096293cbaa56801a76cee /include | |
| parent | a6bb80933c2984cf9a703e6dae6f1f18851c19b6 (diff) | |
SESSION_INFO: separate list for the interface support eliminated, now there's the only list of USERINFO sorted by their unique IDs
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_chat.h | 3 | ||||
| -rw-r--r-- | include/m_chat_int.h | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index bd5967dc9f..4a05f7ea80 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -443,7 +443,6 @@ MIR_APP_DLL(int) Chat_Terminate(const char *szModule); #define GCF_NAME 0x0020 // pszName is valid
#define GCF_TYPE 0x0040 // iType is valid
#define GCF_COUNT 0x0080 // iCount is valid
-#define GCF_USERS 0x0100 // pszUsers is valid
struct GC_INFO
{
@@ -455,8 +454,6 @@ struct GC_INFO LPTSTR pszName; // display name of the session
void* pItemData; // user specified data.
int iCount; // count of users in the nicklist
- LPSTR pszUsers; // space separated string containing the UID's of the users in the user list.
- // NOTE. Use Mirandas mmi_free() on the returned string.
MCONTACT hContact; // hContact for the session (can be NULL)
};
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 042eda91e6..83034f9677 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -176,7 +176,6 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable MODULEINFO *pMI;
SESSION_INFO *pParent;
- LIST<USERINFO> arKeys;
OBJLIST<USERINFO> arUsers;
OBJLIST<LOGINFO> arEvents;
@@ -190,10 +189,6 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable { return (pParent != nullptr) ? pParent->arUsers : arUsers;
}
- __forceinline LIST<USERINFO>& getKeyList()
- { return (pParent != nullptr) ? pParent->arKeys : arKeys;
- }
-
const char* getSoundName(int iEventType) const;
};
|
