Open orkhanalizade opened 9 years ago
i'm having the same problem, does anyone have a sol. for this?
You'll need to update the unreadMessage
yourself after you receive the message. However, this won't save it to the XMPPRoster CoreData because you are probably reading user info on the MainThreadManagedContext which is not suitable for saving.
I'm trying to get unread messages value, but it returns me 0. I present my code:
and it returns me 0. Why? Can anyone help me to fix it?