diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-18 14:58:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-18 14:58:35 +0300 |
commit | 2ae332ebe40fd751360a9f95223c5c0df6c98da7 (patch) | |
tree | ae1c148566e5d2eb281e1dffa62a53f26666f369 /protocols | |
parent | 342391d137b0a3c3ad367b4d74526ac725efb869 (diff) |
VoiceService:
- slightly redesigned call's dialog
- unused timer removed;
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_voip.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_voip.cpp b/protocols/JabberG/src/jabber_voip.cpp index 71426c95ee..37a8a80c36 100644 --- a/protocols/JabberG/src/jabber_voip.cpp +++ b/protocols/JabberG/src/jabber_voip.cpp @@ -530,6 +530,7 @@ INT_PTR CJabberProto::JabberVOIP_call(WPARAM hContact, LPARAM) vc.flags = 0; vc.hContact = hContact; // Contact associated with the call (can be NULL) vc.state = VOICE_STATE_CALLING; + vc.szNumber.a = m_voipPeerJid; NotifyEventHooks(m_hVoiceEvent, WPARAM(&vc), 0); } @@ -546,6 +547,7 @@ INT_PTR CJabberProto::JabberVOIP_answercall(WPARAM id, LPARAM) vc.hContact = HContactFromJID(m_voipPeerJid); vc.state = VOIPCallAccept(m_offerNode, m_voipPeerJid) ? VOICE_STATE_TALKING : VOICE_STATE_ENDED; + vc.szNumber.a = m_voipPeerJid; NotifyEventHooks(m_hVoiceEvent, WPARAM(&vc), 0); return 0; } |