mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +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:
parent
2c23d4c9f8
commit
900749e378
@ -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)
|
||||
|
@ -294,7 +294,11 @@ yowsup_Set($$@)
|
||||
my $number = shift(@args);
|
||||
$number =~ s/\./-/;
|
||||
|
||||
if( $number =~ m/,/ ) {
|
||||
return yowsup_Write( $hash, "/message broadcast $number '". join( ' ', @args ) ."'" );
|
||||
} else {
|
||||
return yowsup_Write( $hash, "/message send $number '". join( ' ', @args ) ."'" );
|
||||
}
|
||||
|
||||
return undef;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user