store offline messages with empty body for pubsub

Activity

Tom Evans 
November 5, 2012 at 9:27 PM

SVN 13344

Rob Fuller 
March 15, 2010 at 7:37 PM

This fix seems to work:

if (message.getBody() == null || message.getBody().length() == 0) {
// ignore empty bodied message (typically chat-state notifications).
// but not pubsub messages
if(message.getChildElement("event", "http://jabber.org/protocol/pubsub#event") == null){
return;
}
}

Fixed

Details

Created December 16, 2008 at 3:19 AM
Updated November 5, 2012 at 9:27 PM
Resolved November 5, 2012 at 9:27 PM
Loading...