diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2016-03-24 22:19:56 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2016-03-24 22:19:56 +0000 |
commit | 2e7f9dcf085ba41ab37bd3234c5fd27781896114 (patch) | |
tree | 9040f166fff937d5a04e9f1f2ad2a29a93b60074 /protocols/JabberG/src | |
parent | 2ad9dacc6b572b8a2d7d925668cae10abec5ef95 (diff) |
Jabber: - Fixed dropdown list of public xmpp servers (fixes #1215)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16538 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 4 | ||||
-rw-r--r-- | protocols/JabberG/src/stdafx.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 0c3d991720..9ac2c0ce8b 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -724,7 +724,7 @@ private: request.cbSize = sizeof(request);
request.requestType = REQUEST_GET;
request.flags = NLHRF_REDIRECT | NLHRF_HTTP11;
- request.szUrl = "http://xmpp.org/services/services.xml";
+ request.szUrl = JABBER_SERVER_URL;
NETLIBHTTPREQUEST *result = (NETLIBHTTPREQUEST *)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)wnd->GetProto()->m_hNetlibUser, (LPARAM)&request);
if (result) {
@@ -2198,7 +2198,7 @@ void CJabberDlgAccMgrUI::QueryServerListThread(void *arg) request.cbSize = sizeof(request);
request.requestType = REQUEST_GET;
request.flags = NLHRF_GENERATEHOST | NLHRF_SMARTREMOVEHOST | NLHRF_SMARTAUTHHEADER | NLHRF_HTTP11;
- request.szUrl = "http://xmpp.org/services/services.xml";
+ request.szUrl = JABBER_SERVER_URL;
NETLIBHTTPREQUEST *result = (NETLIBHTTPREQUEST *)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)wnd->GetProto()->m_hNetlibUser, (LPARAM)&request);
if (result && IsWindow(hwnd)) {
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index 04e8779e45..0e54bb6000 100644 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -176,6 +176,7 @@ protected: #define JABBER_GC_MSG_QUIT LPGENT("I'm happy Miranda NG user. Get it at http://miranda-ng.org/.")
#define JABBER_GC_MSG_SLAP LPGENT("/me slaps %s around a bit with a large trout")
+#define JABBER_SERVER_URL "https://xmpp.net/services.php"
// registered db event types
#define EVENTTYPE_JABBER_CHATSTATES 2000
|