mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
bugfix: disconnects with new mosquitto version (wrong use of DUP flag)
git-svn-id: https://svn.fhem.de/fhem/trunk@24956 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0fd744be43
commit
8de67e2bff
@ -515,7 +515,7 @@ sub Read {
|
||||
GP_ForallClients($hash,\¬ify_client_connected);
|
||||
foreach my $message_id (keys %{$hash->{messages}}) {
|
||||
my $msg = $hash->{messages}->{$message_id}->{message};
|
||||
$msg->{dup} = $msg->{ispub};
|
||||
$msg->{dup} = $msg->message_type == MQTT_PUBLISH;
|
||||
DevIo_SimpleWrite($hash,$msg->bytes,undef);
|
||||
}
|
||||
last;
|
||||
|
Loading…
x
Reference in New Issue
Block a user