I believe many people have rolled their own message storage systems. The 'unreadMessages' property is a reflection of the information stored in whatever custom storage system one may be using. It's used to badge table view rows with an unread count, similar to the SMS app.
I'm currently working on a generic message storage system. You're welcome to take a look. It's actually planned to be a proper implementation of XEP-0136 (message archiving, which will support server-side message archiving as well). In it's current state, however, it's just client side archiving, and will automatically store (to a core data database) all outgoing and incoming messages.
It's in a branch titled "xep-0136", and is up-to-date with the latest code-base.
-Robbie Hanson
> --
> You received this message because you are subscribed to the Google Groups "XMPPFramework" group.
> To post to this group, send email to
xmppfr...@googlegroups.com.
> To unsubscribe from this group, send email to
xmppframewor...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/xmppframework?hl=en.
>