diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-14 16:43:53 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-14 16:43:53 +0300 |
commit | 64b53b1c28ffa353ff2f0c0a01405f9afc2b7bf1 (patch) | |
tree | 09f966d418bd50c8d63b52ec7896462803dc6294 /include | |
parent | 29af90eb23768e9eb2c29091fefaaa10c78ff8cd (diff) |
common group chat code moved to mir_app
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index c05b4599cc..99088b2c2f 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -43,8 +43,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define CHAT_MODULE "Chat"
#define CHATFONT_MODULE "ChatFonts"
-#define GC_FAKE_EVENT MEVENT(0xBABABEDA)
-
#define GCW_TABROOM 10
#define GCW_TABPRIVMSG 11
@@ -85,13 +83,13 @@ struct USERINFO : public MZeroedObject, public MNonCopyable wchar_t* pszUID;
wchar_t* pszNick;
- uint32_t iSignature = GC_FAKE_EVENT;
+ uint32_t iSignature = 0xDEADBEEF;
uint16_t Status;
uint16_t ContactStatus;
int iStatusEx;
bool isValid() const {
- return iSignature == GC_FAKE_EVENT;
+ return iSignature == 0xDEADBEEF;
}
};
@@ -196,6 +194,7 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable }
const char* getSoundName(int iEventType) const;
+ void markRead(bool bForce = false);
};
struct GlobalLogSettingsBase
|