From 7ef04dbd77d561031c318f6066783e1b279d541c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Aug 2022 18:11:51 +0300 Subject: Jabber: fix for VoiceService calling --- plugins/VoiceService/src/hooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/VoiceService') 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]; -- cgit v1.2.3