mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-24 04:52:05 +01:00
Make pubkey node open
This commit is contained in:
parent
ed31a48a9b
commit
70538ecc90
1 changed files with 1 additions and 0 deletions
|
@ -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.");
|
||||||
|
|
Loading…
Reference in a new issue