diff options
Diffstat (limited to 'protocols/IcqOscarJ/icq_proto.cpp')
-rwxr-xr-x | protocols/IcqOscarJ/icq_proto.cpp | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/protocols/IcqOscarJ/icq_proto.cpp b/protocols/IcqOscarJ/icq_proto.cpp index 017bfe5482..90a56838bb 100755 --- a/protocols/IcqOscarJ/icq_proto.cpp +++ b/protocols/IcqOscarJ/icq_proto.cpp @@ -1593,9 +1593,9 @@ int __cdecl CIcqProto::SendMsg( HANDLE hContact, int flags, const char* pszSrc ) BOOL plain_ascii = IsUSASCII(puszText, strlennull(puszText));
- BOOL oldAnsi = plain_ascii || !m_bUtfEnabled ||
+ BOOL oldAnsi = plain_ascii || !m_bUtfEnabled ||
(!(flags & (PREF_UTF | PREF_UNICODE)) && m_bUtfEnabled == 1) ||
- !CheckContactCapabilities(hContact, CAPF_UTF) ||
+ !CheckContactCapabilities(hContact, CAPF_UTF) ||
!getSettingByte(hContact, "UnicodeSend", 1);
if (m_bTempVisListEnabled && m_iStatus == ID_STATUS_INVISIBLE)
@@ -1648,7 +1648,7 @@ int __cdecl CIcqProto::SendMsg( HANDLE hContact, int flags, const char* pszSrc ) // on failure, fallback to send thru server
}
- if (!dwUin || !CheckContactCapabilities(hContact, CAPF_SRV_RELAY) ||
+ if (!dwUin || !CheckContactCapabilities(hContact, CAPF_SRV_RELAY) ||
wRecipientStatus == ID_STATUS_OFFLINE || wRecipientStatus == ID_STATUS_INVISIBLE ||
getSettingByte(hContact, "OnlyServerAcks", getSettingByte(NULL, "OnlyServerAcks", DEFAULT_ONLYSERVERACKS)) ||
!getSettingByte(hContact, "SlowSend", getSettingByte(NULL, "SlowSend", DEFAULT_SLOWSEND)))
@@ -2087,23 +2087,6 @@ int __cdecl CIcqProto::SetStatus(int iNewStatus) return 0;
}
-
-////////////////////////////////////////////////////////////////////////////////////////
-// RecvAuth - returns a contact's away message
-
-INT_PTR __cdecl CIcqProto::RecvAuth(WPARAM wParam, LPARAM lParam)
-{
- CCSDATA* ccs = (CCSDATA*)lParam;
- PROTORECVEVENT* pre = (PROTORECVEVENT*)ccs->lParam;
-
- setContactHidden(ccs->hContact, 0);
-
- ICQAddRecvEvent(NULL, EVENTTYPE_AUTHREQUEST, pre, pre->lParam, (PBYTE)pre->szMessage, 0);
-
- return 0;
-}
-
-
////////////////////////////////////////////////////////////////////////////////////////
// GetAwayMsgThread - return a contact's status message
|