From 899fc184200443ffd032f7baf0faa111c5402e97 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 6 Jul 2022 16:09:44 -0600 Subject: [PATCH] Use the right comments for lua. --- .../app/voicemail/resources/functions/listen_to_recording.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua index 178b393d9f..875452ec26 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/listen_to_recording.lua @@ -139,7 +139,7 @@ --play the message if (session:ready()) then if (string.len(dtmf_digits) == 0) then - //check if wav file exists then play the file + --check if wav file exists then play the file if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".wav")) then stream_seek = true; if (storage_type == "http_cache") then @@ -152,7 +152,7 @@ session:streamFile("silence_stream://1000"); end - //check if mp3 file exists then play the file + --check if mp3 file exists then play the file if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid..".mp3")) then stream_seek = true; if (storage_type == "http_cache") then