From 7c33e4a07ba1f22a58c291018ca99a4f6becb1fe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Jul 2023 15:03:09 +0300 Subject: fixes #3351 (Jingle: Separate all VOIP-related code from Jabber to Jingle plugin) --- protocols/JabberG/src/jabber_proto.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'protocols/JabberG/src/jabber_proto.cpp') 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); -- cgit v1.2.3