From a6fee0d53fb640868e010e0dc54b116d9d143ddf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Dec 2018 13:05:02 +0300 Subject: User added notifications: - old obsoleted ICQ-related junk like PF4_FORCEADDED & PF1_ADDED removed; - appropriate controls removed from auth dialogs and menus; - fixes #1680 (ICQ10: disable "Auth request" and "Send you are added" in "Add contact" dialog) --- include/delphi/m_protosvc.inc | 2 -- include/m_protosvc.h | 9 --------- 2 files changed, 11 deletions(-) (limited to 'include') diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc index d0a341f57f..8edc1b645d 100644 --- a/include/delphi/m_protosvc.inc +++ b/include/delphi/m_protosvc.inc @@ -77,7 +77,6 @@ const PF1_MODEMSG = (PF1_MODEMSGSEND or PF1_MODEMSGRECV); PF1_SERVERCLIST = $00000100; // contact lists are stored on the server, not locally. See notes below PF1_AUTHREQ = $00000200; // will get authorisation requests for some or all contacts - PF1_ADDED = $00000400; // will get 'you were added' notifications PF1_VISLIST = $00000800; // has an invisible list PF1_INVISLIST = $00001000; // has a visible list for when in invisible mode PF1_INDIVSTATUS = $00002000; // supports setting different status modes to each contact @@ -118,7 +117,6 @@ const PFLAGNUM_4 = 4; // v0.3+: flag asking a protocol plugin how auths are handled PF4_FORCEAUTH = $00000001; // protocol has to send auth's for things to work - PF4_FORCEADDED = $00000002; // protocol has to tell people that they were added (otherwise things don't work) PF4_NOCUSTOMAUTH = $00000004; // protocol can't send a custom message while asking others for auth PF4_SUPPORTTYPING = $00000008; // protocol supports user is typing messages v0.3.3+ PF4_SUPPORTIDLE = $00000010; // protocol understands idle, added during v0.3.4+ (2004/09/13) diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 4d5b0c5de4..7e0daf7f83 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -58,7 +58,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define PF1_MODEMSGRECV 0x00000080 // supports reading others' away messages #define PF1_SERVERCLIST 0x00000100 // contact lists are stored on the server, not locally. See notes below #define PF1_AUTHREQ 0x00000200 // will get authorisation requests for some or all contacts -#define PF1_ADDED 0x00000400 // will get 'you were added' notifications #define PF1_VISLIST 0x00000800 // has an invisible list #define PF1_INVISLIST 0x00001000 // has a visible list for when in invisible mode #define PF1_INDIVSTATUS 0x00002000 // supports setting different status modes to each contact @@ -137,7 +136,6 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PFLAGNUM_4 4 #define PF4_FORCEAUTH 0x00000001 // forces auth requests to be sent when adding users -#define PF4_FORCEADDED 0x00000002 // forces "you were added" requests to be sent #define PF4_NOCUSTOMAUTH 0x00000004 // protocol doesn't support custom auth text (doesn't show auth text box) #define PF4_SUPPORTTYPING 0x00000008 // protocol supports user is typing messages #define PF4_SUPPORTIDLE 0x00000010 // protocol understands idle @@ -300,13 +298,6 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PS_AUTHDENY "/AuthDeny" -/////////////////////////////////////////////////////////////////////////////// -// Send a "You were added" event -// wParam = lParam = 0 -// Returns 0 on success, nonzero on failure - -#define PSS_ADDED "/YouWereAdded" - /////////////////////////////////////////////////////////////////////////////// // Create account manager UI form // wParam = 0 -- cgit v1.2.3