v 2.9 - Nov 10, 2016
- Implemented last activity. You can get last activity in seconds for user that is in your contact list. Will return 0 if user is online. Fore more information: XEP-0012:
- Added lastActivityForContactListItem:withCompletion: and lastActivityForContactListItem:withTimeout:completion: methods to QBContactList class. Use them to get a last activity for contact list item.
- [QBChat]:
- Added user ID validation in connectWithUser: methods.
- QBChat will now store a copy of QBUUser instance while connected (was the direct link).
- Fixed QBChat stored user not being cleared after disconnect (thanks intonarumori).
- Fixed disconnectWithCompletionBlock: completion block not being called if chat is not connected (thanks intonarumori).
- Fixed an issue that prevented group dialogs from being joined if chat did reconnect.
-
Implemented markMessagesAsDelivered:dialogID:successBlock:errorBlock: QBRequest. Use it to mark messages as delivered.
-
Deprecated read property in QBChatMessage class. Use readIDs to determine whether the message was read.