bugfix: disconnects with new mosquitto version (wrong use of DUP flag)

git-svn-id: https://svn.fhem.de/fhem/trunk@24955 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister
2021-09-11 17:01:52 +00:00
parent 0512e52659
commit d84e317fdc

View File

@@ -515,7 +515,7 @@ sub Read {
GP_ForallClients($hash,\&notify_client_connected);
foreach my $message_id (keys %{$hash->{messages}}) {
my $msg = $hash->{messages}->{$message_id}->{message};
$msg->{dup} = 1;
$msg->{dup} = $msg->{ispub};
DevIo_SimpleWrite($hash,$msg->bytes,undef);
}
last;