Commit 25edb24c authored by Tom Evans's avatar Tom Evans Committed by tevans

OF-205: Honor persistPublishedItems flag when publishing items

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13332 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8c315b29
......@@ -247,7 +247,9 @@ public class LeafNode extends Node {
setLastPublishedItem(newItem);
// Add the new published item to the queue of items to add to the database. The
// queue is going to be processed by another thread
PubSubPersistenceManager.savePublishedItem(newItem);
if (isPersistPublishedItems()) {
PubSubPersistenceManager.savePublishedItem(newItem);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment