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:
parent
9f3d2d2f28
commit
8ed872ca63
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue