Does Openfire store offline custom message types?

I have a custom message type (with a packetextension) and need Openfire to store these messages when users are offline - at the moment it is not storing offline messages - should it be? If not, how can I get it to?

Thanks