If you check OfflineMessageStrategy.class line 190, you will see that method inform listeners without checking whether message is stored offline or not.
Line 191: messageStore.addMessage(message);
will check for the message should store or not. However, OfflineMessageListener will inform all listeners without this control.
<message type="chat" to="user@openfire" from="user2@openfire">
<composing xmlns="http://jabber.org/protocol/chatstates"></composing>
</message>
This is a chatstate message and it will not be stored offline but OfflineMessageListener will inform all listeners.