diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-23 19:41:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-23 19:41:54 +0300 |
commit | bddc397fa9e6c164d0288b4665fa10806f8363fa (patch) | |
tree | 5b45c7981815f1ea346878106d4725f688b88014 /include | |
parent | 87ffacfcb26cb3e6378d3d4189cc565d5f487103 (diff) |
Telegram: patch to hide nick list for channels
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat.h | 1 | ||||
-rw-r--r-- | include/m_chat_int.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index 2ac337e3cd..49a636f220 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -166,6 +166,7 @@ MIR_APP_DLL(int) Chat_Register(const GCREGISTER*); // A hContact will be added for the session, but it will default to being hidden (on the CList)
#define GCW_PRIVMESS 3 // NOT SUPPORTED YET! the session is a 1 to 1 session, but with additional
// support for adding more users etc. ex "MSN session".
+#define GCW_CHANNEL 4 // same as GCW_CHATROOM, but without user list/nick list
MIR_APP_DLL(struct SESSION_INFO*) Chat_NewSession(
int iType, // Use one of the GCW_* flags above to set the type of session
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 94939f412c..6aa2bee8a6 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -141,6 +141,7 @@ struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopya bool bInitDone;
bool bHasToolTip;
+ bool bHasNicklist;
bool bTrimmed;
bool bHistoryInit;
|