summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_message_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_message_manager.cpp')
-rw-r--r--protocols/JabberG/src/jabber_message_manager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/JabberG/src/jabber_message_manager.cpp b/protocols/JabberG/src/jabber_message_manager.cpp
index f8d067080d..4709b1dea1 100644
--- a/protocols/JabberG/src/jabber_message_manager.cpp
+++ b/protocols/JabberG/src/jabber_message_manager.cpp
@@ -59,15 +59,15 @@ bool CJabberMessageManager::HandleMessagePermanent(HXML node, ThreadData *pThrea
LPCTSTR szType = xmlGetAttrValue(node, _T("type"));
if (szType) {
- if (!_tcsicmp(szType, _T("normal")))
+ if (!mir_tstrcmpi(szType, _T("normal")))
messageInfo.m_nMessageType = JABBER_MESSAGE_TYPE_NORMAL;
- else if (!_tcsicmp(szType, _T("error")))
+ else if (!mir_tstrcmpi(szType, _T("error")))
messageInfo.m_nMessageType = JABBER_MESSAGE_TYPE_ERROR;
- else if (!_tcsicmp(szType, _T("chat")))
+ else if (!mir_tstrcmpi(szType, _T("chat")))
messageInfo.m_nMessageType = JABBER_MESSAGE_TYPE_CHAT;
- else if (!_tcsicmp(szType, _T("groupchat")))
+ else if (!mir_tstrcmpi(szType, _T("groupchat")))
messageInfo.m_nMessageType = JABBER_MESSAGE_TYPE_GROUPCHAT;
- else if (!_tcsicmp(szType, _T("headline")))
+ else if (!mir_tstrcmpi(szType, _T("headline")))
messageInfo.m_nMessageType = JABBER_MESSAGE_TYPE_HEADLINE;
else
return false;