diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index 8a6c82d3d..3f9d3b803 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -54,6 +54,7 @@ eval "use Cache::Cache;1;" or my $SScamMMCacheCache = "Cache::Cache"; # Versions History intern our %SSCam_vNotesIntern = ( + "9.2.3" => "29.05.2020 change SSChatBot_formText to SSChatBot_formString ", "9.2.2" => "14.04.2020 increase read timeout of Redis server cache, fix autocreate bug with https ", "9.2.1" => "24.02.2020 set compatibility to SVS version 8.2.7 ", "9.2.0" => "10.12.2019 attribute \"recChatTxt\" for sending recordings by SSChatBot ", @@ -420,7 +421,7 @@ sub FW_pH(@); # add href use vars qw(%SSCam_vHintsExt_en); use vars qw(%SSCam_vHintsExt_de); sub SSCam_TBotSendIt($$$$$$$;$$$); -sub SSChatBot_formText($); +sub SSChatBot_formString($); sub SSChatBot_addQueue($$$$$$$$); sub SSChatBot_getapisites($); @@ -8791,8 +8792,8 @@ sub SSCam_sendChat ($$) { # Eintrag zur SendQueue hinzufügen # Werte: (name,opmode,method,userid,text,fileUrl,channel,attachment) $fileUrl = $rootUrl."/".$mtype."/".$fname; - $subject = SSChatBot_formText($subject); - $ret = SSChatBot_addQueue($chatbot, "sendItem", "chatbot", $uid, $subject, $fileUrl, "", ""); + $subject = SSChatBot_formString ($subject); + $ret = SSChatBot_addQueue ($chatbot, "sendItem", "chatbot", $uid, $subject, $fileUrl, "", ""); if($ret) { readingsSingleUpdate($hash, "sendChatState", $ret, 1); @@ -8851,8 +8852,8 @@ sub SSCam_sendChat ($$) { # Eintrag zur SendQueue hinzufügen # Werte: (name,opmode,method,userid,text,fileUrl,channel,attachment) $fileUrl = $rootUrl."/".$mtype."/".$fname; - $subject = SSChatBot_formText($subject); - $ret = SSChatBot_addQueue($chatbot, "sendItem", "chatbot", $uid, $subject, $fileUrl, "", ""); + $subject = SSChatBot_formString ($subject); + $ret = SSChatBot_addQueue ($chatbot, "sendItem", "chatbot", $uid, $subject, $fileUrl, "", ""); if($ret) { readingsSingleUpdate($hash, "sendChatState", $ret, 1);