Why OfflineMessageStore is storing messages without body in the database?

org.jivesoftware.openfire.OfflineMessageStore.addMessage(Message message)

shouldn’t have something like: if(message.getBody() == null) { return;} ?

It does make sense to me to prevent stuff like typing notifications to go into the offline message store.

A new JIRA issue was created to track progress: JM-1435