Skip to:
see http://www.igniterealtime.org/community/thread/36322OfflineMessageStore.java ignores "empty-bodied" messages (line 113, addMessage() method. Pubsub messages are dropped therefore.
SVN 13344
This fix seems to work:
if (message.getBody() == null || message.getBody().length() == 0) {// ignore empty bodied message (typically chat-state notifications).// but not pubsub messagesif(message.getChildElement("event", "http://jabber.org/protocol/pubsub#event") == null){return;}}
see http://www.igniterealtime.org/community/thread/36322
OfflineMessageStore.java ignores "empty-bodied" messages (line 113, addMessage() method. Pubsub messages are dropped therefore.