1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 20:42:06 +01:00

Make pubkey node open

This commit is contained in:
Paul Schaub 2018-06-22 15:23:44 +02:00
parent ed31a48a9b
commit 70538ecc90

View file

@ -120,6 +120,7 @@ public class PubSubDelegate {
// Check if key available at data node // Check if key available at data node
// If not, publish key to data node // If not, publish key to data node
LeafNode keyNode = pm.getOrCreateLeafNode(keyNodeName); LeafNode keyNode = pm.getOrCreateLeafNode(keyNodeName);
changeAccessModelIfNecessary(keyNode, AccessModel.open);
List<Item> items = keyNode.getItems(1); List<Item> items = keyNode.getItems(1);
if (items.isEmpty()) { if (items.isEmpty()) {
LOGGER.log(Level.FINE, "Node " + keyNodeName + " is empty. Publish."); LOGGER.log(Level.FINE, "Node " + keyNodeName + " is empty. Publish.");