2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

32_yowsup.pm: allow comma separated receiver list on master

git-svn-id: https://svn.fhem.de/fhem/trunk@9534 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-10-18 20:21:08 +00:00
parent 2c23d4c9f8
commit 900749e378
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- feature: 32_yowsup.pm: allow comma separated receiver list on master send
- bugfix: YAMAHA_AVR: fixing not working remoteControl commands for
several models
- feature: PRESENCE: support for Solaris ping (mode: lan-ping)

View File

@ -294,7 +294,11 @@ yowsup_Set($$@)
my $number = shift(@args);
$number =~ s/\./-/;
return yowsup_Write( $hash, "/message send $number '". join( ' ', @args ) ."'" );
if( $number =~ m/,/ ) {
return yowsup_Write( $hash, "/message broadcast $number '". join( ' ', @args ) ."'" );
} else {
return yowsup_Write( $hash, "/message send $number '". join( ' ', @args ) ."'" );
}
return undef;