Moved read authorization check from publish phase to subscribe

This commit is contained in:
andsel
2016-01-30 17:22:17 +01:00
parent 69c1219f2b
commit a19af18a61
4 changed files with 38 additions and 11 deletions
@@ -42,7 +42,7 @@ public class SubscribeMessage extends MessageIDMessage {
return m_topicFilter;
}
}
private List<Couple> m_subscriptions = new ArrayList<Couple>();
private List<Couple> m_subscriptions = new ArrayList<>();
public SubscribeMessage() {
//Subscribe has always QoS 1