1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 07:42:06 +01:00

PubSubIntegrationTest: Add workaround for ejabberd issue #2799

This commit is contained in:
Florian Schmaus 2019-02-17 17:51:37 +01:00
parent 9f3d2d2f28
commit 8ed872ca63

View file

@ -58,7 +58,9 @@ public class PubSubIntegrationTest extends AbstractSmackIntegrationTest {
// items do not need payload, to prevent payload-required error responses when // items do not need payload, to prevent payload-required error responses when
// publishing the item. // publishing the item.
config.setDeliverPayloads(false); config.setDeliverPayloads(false);
config.setPersistentItems(true); // Set persistent_items to 'false' (was previously 'true') as workaround for ejabberd issue #2799
// (https://github.com/processone/ejabberd/issues/2799).
config.setPersistentItems(false);
Node node = pubSubManagerOne.createNode(nodename, config); Node node = pubSubManagerOne.createNode(nodename, config);
try { try {
LeafNode leafNode = (LeafNode) node; LeafNode leafNode = (LeafNode) node;