From 68f119cb70d7047c20910ea6db33c3bc94149a75 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Apr 2020 15:19:01 +0300 Subject: Chat api: - function Chat_GetDefaultEventDescr() added not to translate the same strings in 5 different places; - function CHAT_INTERFACE::CreateNick added to process nick name creation for group chats; - unused variable LOGINFO::dwFlags removed; - variable LOGINFO::bSimple added for events without possible formatting; - bunch of duplicate code remoed; --- plugins/TabSRMM/src/chat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/TabSRMM/src/chat.h') diff --git a/plugins/TabSRMM/src/chat.h b/plugins/TabSRMM/src/chat.h index 8e64d6c09b..abb39a9634 100644 --- a/plugins/TabSRMM/src/chat.h +++ b/plugins/TabSRMM/src/chat.h @@ -118,6 +118,8 @@ SESSION_INFO* SM_FindSessionAutoComplete(const char* pszModule, SESSION_INFO* cu BOOL SM_ReconfigureFilters(); +void OnCreateNick(const SESSION_INFO *si, const LOGINFO *lin, CMStringW &wszNick); + int UM_CompareItem(const USERINFO *u1, const USERINFO *u2); // tools.c -- cgit v1.2.3