mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
Fix check which allows QoS 3 (#1248)
Signed-off-by: A-Imal <Abdullah.Imal@dc-square.de>
This commit is contained in:
parent
2d14814549
commit
991a8fd850
@ -387,7 +387,7 @@ public class MqttBrokerConnection {
|
||||
* @param qos level.
|
||||
*/
|
||||
public void setQos(int qos) {
|
||||
if (qos < 0 || qos > 3) {
|
||||
if (qos < 0 || qos > 2) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
this.qos = qos;
|
||||
|
Loading…
Reference in New Issue
Block a user