summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index b094f85590..bdf00f50e9 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -178,12 +178,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
CreateProtoService(JS_GETJABBERAPI, &CJabberProto::JabberGetApi);
- // Voice
- m_hVoiceEvent = CreateProtoEvent(PE_VOICE_CALL_STATE);
- CreateProtoService(PS_VOICE_CALL, &CJabberProto::JabberVOIP_call);
- CreateProtoService(PS_VOICE_ANSWERCALL, &CJabberProto::JabberVOIP_answercall);
- CreateProtoService(PS_VOICE_DROPCALL, &CJabberProto::JabberVOIP_dropcall);
-
// XEP-0224 support (Attention/Nudge)
CreateProtoService(PS_SEND_NUDGE, &CJabberProto::JabberSendNudge);
@@ -261,11 +255,6 @@ CJabberProto::~CJabberProto()
DestroyHookableEvent(m_hEventNudge);
DestroyHookableEvent(m_hEventXStatusIconChanged);
DestroyHookableEvent(m_hEventXStatusChanged);
- DestroyHookableEvent(m_hVoiceEvent);
-
- // Voice
- if (hasJingle())
- InitVoip(false);
// Lists & strings
ListWipe();
@@ -323,10 +312,6 @@ void CJabberProto::OnModulesLoaded()
CheckAllContactsAreTransported();
- // Voip
- if (hasJingle())
- InitVoip(true);
-
// Set all contacts to offline
for (auto &hContact : AccContacts()) {
SetContactOfflineStatus(hContact);