diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-07 18:11:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-07 18:11:51 +0300 |
commit | 7ef04dbd77d561031c318f6066783e1b279d541c (patch) | |
tree | 3c62771e3f2609f8bf7d98c81aa33fa868ec2593 /plugins/VoiceService/src | |
parent | 8b8313f8ddf570c5e79fef25e3dbba76698d28ea (diff) |
Jabber: fix for VoiceService calling
Diffstat (limited to 'plugins/VoiceService/src')
-rw-r--r-- | plugins/VoiceService/src/hooks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VoiceService/src/hooks.cpp b/plugins/VoiceService/src/hooks.cpp index a0e9e85999..bdf8cf1e21 100644 --- a/plugins/VoiceService/src/hooks.cpp +++ b/plugins/VoiceService/src/hooks.cpp @@ -403,7 +403,7 @@ static bool IsCall(VoiceCall *call, const char *szModule, const char *id) && call->id != NULL && strcmp(call->id, id) == 0; } -VoiceCall *FindVoiceCall(const char *szModule, const char *id, bool add) +VoiceCall* FindVoiceCall(const char *szModule, const char *id, bool add) { for (int i = 0; i < calls.getCount(); i++) { if (IsCall(&calls[i], szModule, id)) { @@ -487,7 +487,7 @@ bool IsFinalState(int state) return state == VOICE_STATE_ENDED || state == VOICE_STATE_BUSY; } -VoiceCall *GetTalkingCall() +VoiceCall* GetTalkingCall() { for (int i = 0; i < calls.getCount(); ++i) { VoiceCall *call = &calls[i]; |