2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

50_SSChatBot.pm: contrib 1.11.6

git-svn-id: https://svn.fhem.de/fhem/trunk@22940 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-10-07 22:36:05 +00:00
parent a25a16ba36
commit 6a98e8f007

View File

@ -35,7 +35,7 @@ package FHEM::SSChatBot;
use strict;
use warnings;
use utf8;
# use utf8;
use GPUtils qw(GP_Import GP_Export); # wird für den Import der FHEM Funktionen aus der fhem.pl benötigt
use FHEM::SynoModules::API qw(apistatic); # API Modul
@ -535,7 +535,8 @@ sub _setasyncSendItem {
return qq{Your sendstring is incorrect. It must contain at least text with the "text=" tag like text="..."\nor only some text like "this is a test" without the "text=" tag.} if(!$text);
$text = decode("utf8", $text);
# $text = decode("utf8", $text);
# $text = formString($text, decode("utf8", $text));
$text = formString($text, "text");
$users = AttrVal($name,"defaultPeer", "") if(!$users);