1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 04:28:00 +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
// publishing the item.
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);
try {
LeafNode leafNode = (LeafNode) node;