diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-20 16:42:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-20 16:42:11 +0000 |
commit | 8761e793032de3e266a0cb9582327367c6172467 (patch) | |
tree | 46174efdd3ccfff1be8efb3f926e7885727d1a7b /protocols/JabberG/src/jabber_iqid_muc.cpp | |
parent | 5e4286f1becfb5ce52372f882a51ae8ea6f6ef6d (diff) |
constants went to Unicode (suddenly)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid_muc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid_muc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_iqid_muc.cpp b/protocols/JabberG/src/jabber_iqid_muc.cpp index 3d6d817ffc..b4aad02f26 100644 --- a/protocols/JabberG/src/jabber_iqid_muc.cpp +++ b/protocols/JabberG/src/jabber_iqid_muc.cpp @@ -30,7 +30,7 @@ void CJabberProto::SetMucConfig(HXML node, void *from) {
if (m_ThreadInfo && from) {
XmlNodeIq iq(_T("set"), SerialNext(), (TCHAR*)from);
- HXML query = iq << XQUERY(xmlnsOwner);
+ HXML query = iq << XQUERY(JABBER_FEAT_MUC_OWNER);
xmlAddChild(query, node);
m_ThreadInfo->send(iq);
} }
@@ -51,10 +51,10 @@ void CJabberProto::OnIqResultGetMuc(HXML iqNode) if ( !_tcscmp(type, _T("result"))) {
if ((queryNode = xmlGetChild(iqNode , "query")) != NULL) {
str = xmlGetAttrValue(queryNode, _T("xmlns"));
- if ( !lstrcmp(str, _T("http://jabber.org/protocol/muc#owner"))) {
+ if ( !lstrcmp(str, JABBER_FEAT_MUC_OWNER)) {
if ((xNode = xmlGetChild(queryNode , "x")) != NULL) {
str = xmlGetAttrValue(xNode, _T("xmlns"));
- if ( !lstrcmp(str, _T(JABBER_FEAT_DATA_FORMS)))
+ if ( !lstrcmp(str, JABBER_FEAT_DATA_FORMS))
//LaunchForm(xNode);
FormCreateDialog(xNode, _T("Jabber Conference Room Configuration"), &CJabberProto::SetMucConfig, mir_tstrdup(from));
} } } } }
|