diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_iqid.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index c6e0432206..39c695f69d 100755 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -490,30 +490,6 @@ void CJabberProto::OnIqResultGetRegister(const TiXmlElement *iqNode, CJabberIqIn }
}
-void CJabberProto::OnIqResultSetRegister(const TiXmlElement *iqNode, CJabberIqInfo*)
-{
- // RECVED: result of registration process
- // ACTION: notify of successful agent registration
- debugLogA("<iq/> iqIdSetRegister");
-
- const char *type, *from;
- if ((type = XmlGetAttr(iqNode, "type")) == nullptr) return;
- if ((from = XmlGetAttr(iqNode, "from")) == nullptr) return;
-
- if (!mir_strcmp(type, "result")) {
- MCONTACT hContact = HContactFromJID(from);
- if (hContact != 0)
- setByte(hContact, "IsTransport", true);
-
- if (m_hwndRegProgress)
- SendMessage(m_hwndRegProgress, WM_JABBER_REGDLG_UPDATE, 100, (LPARAM)TranslateT("Registration successful"));
- }
- else if (!mir_strcmp(type, "error")) {
- if (m_hwndRegProgress)
- SendMessage(m_hwndRegProgress, WM_JABBER_REGDLG_UPDATE, 100, (LPARAM)JabberErrorMsg(iqNode).c_str());
- }
-}
-
/////////////////////////////////////////////////////////////////////////////////////////
// JabberIqResultGetVcard - processes the server-side v-card
|