2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

FHEMWEB: Exception for the Unsorted room for longpoll (justme1968, forum #20130)

git-svn-id: https://svn.fhem.de/fhem/trunk@5609 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-04-23 12:07:31 +00:00
parent 1f642ed0c6
commit 651e4034b9

View File

@ -497,7 +497,7 @@ FW_answerCall($)
}
my $filter = $me->{inform}{filter};
$filter = "NAME=.*" if($filter eq "room=all");
$filter = "room!=.*" if($filter eq "room=Unsorted");
$filter = "room!=.+" if($filter eq "room=Unsorted");
my %h = map { $_ => 1 } devspec2array($filter);
$me->{inform}{devices} = \%h;