Skip to content

Commit

Permalink
- do not include the obsolete "ack" flag in outgoing messages anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
owagner committed Jan 31, 2015
1 parent ccb2259 commit a1d7de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/tellerulam/hm2mqtt/MQTTHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void connectionLost(Throwable t)
private void doPublish(String name, Object val, String addr,boolean retain)
{
JsonObject jso=new JsonObject();
jso.add("hm_addr",addr).add("ack",true);
jso.add("hm_addr",addr);
if(val instanceof BigDecimal)
jso.add("val",((BigDecimal)val).doubleValue());
else if(val instanceof Integer)
Expand Down

0 comments on commit a1d7de0

Please sign in to comment.