diff options
author | George Hazan <ghazan@miranda.im> | 2022-09-02 21:54:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-09-02 21:54:41 +0300 |
commit | 55162f6b82e3ca164fc6987144c6573ba03fb017 (patch) | |
tree | 0ebaab6b9c8237875fe7ce59512d8d4a860e7b21 /plugins/VoiceService/src/VoiceProvider.cpp | |
parent | 93a0e9a4b94c6032d6cbafb83dab8e364d298f84 (diff) |
VoiceService: fix for logic
Diffstat (limited to 'plugins/VoiceService/src/VoiceProvider.cpp')
-rw-r--r-- | plugins/VoiceService/src/VoiceProvider.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/VoiceService/src/VoiceProvider.cpp b/plugins/VoiceService/src/VoiceProvider.cpp index a5ec34d27c..8246865158 100644 --- a/plugins/VoiceService/src/VoiceProvider.cpp +++ b/plugins/VoiceService/src/VoiceProvider.cpp @@ -45,6 +45,11 @@ static int VoiceState(WPARAM wParam, LPARAM) VoiceCall *call = FindVoiceCall(in->moduleName, in->id, !IsFinalState(in->state)); if (call == NULL) return 0; + + if(in->state == VOICE_STATE_SETSTATUS) { + call->SetStatus(in->szStatus); + return 0; + } call->AppendCallerID(in->hContact, (in->flags & VOICE_UNICODE) ? in->szName.w : _A2T(in->szName.a), |