mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
32_yowsup.pm: allow comma separated receiver list on master
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9534 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b09b76129f
commit
7dd53bda6a
1
CHANGED
1
CHANGED
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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
|
- bugfix: YAMAHA_AVR: fixing not working remoteControl commands for
|
||||||
several models
|
several models
|
||||||
- feature: PRESENCE: support for Solaris ping (mode: lan-ping)
|
- feature: PRESENCE: support for Solaris ping (mode: lan-ping)
|
||||||
|
@ -294,7 +294,11 @@ yowsup_Set($$@)
|
|||||||
my $number = shift(@args);
|
my $number = shift(@args);
|
||||||
$number =~ s/\./-/;
|
$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 yowsup_Write( $hash, "/message send $number '". join( ' ', @args ) ."'" );
|
||||||
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user