Removed obsolete MXEventTypeRoomAddStateLevel, MXEventTypeRoomSendEventLevel, & MXEventTypeRoomOpsLevel
MXStoreTests: Made tests inits less laborious
Moved paginatiton tests from MXRoomTests to MXStoreTests as pagination is now strongly related to the MXStore
Do the same pagination tests on MXNoStore & MXMemoryStore.
Did not find a better solution with Xcode tests than writing the tests in the same file
Merge remote-tracking branch 'origin/develop' into powerlevels_api
Moved MXEventTypeString <-> MXEventType to MXTools
Created MXRoomPowerLevels
MXRoomState.powerLevels is now an instance of MXRoomPowerLevels.
Added tests for it
[MXRoomPowerLevels minimumPowerLevelForEvent:] uses now a string as arg to accept cumtom event types
Cut [MXRoomPowerLevels minimumPowerLevelForEvent] in 2: minimumPowerLevelForPostingEventAsMessage and minimumPowerLevelForPostingEventAsStateEvent because the Matrix protocol allows to send an event as a message (non-state event) or as a state event
Updated MatrixConsole to use the new MXRoomPowerLevels class
Moved MXEvent into JSONModels folder as it is one of them
Room details: fix flickering on outgoing messages + improve table refresh at the end of back pagination.
Added a callback to [MXSession resume] so that the app can now when the data has been full refreshed
Update user's change listener
Prepare support of "invite" level to power level events (related to SYN-190)
Room details: fix back pagination size (paginate back until the defined size is reached)
Added a test to check pagination when joining a room the user quitted
BF: Needed to add [MXStore cleanDataOfRoom:] in order to clean data related to a room when leaving it so that when the user joins the room again he is able to do a clean pagination
Make testMXMemoryStorePaginateWhenJoiningAgainAfterLeft pass.
There is an issue when paginating back from initialSyncOfRoom. Cannot figure out yet if the bug is in the test or not.
So, use a high limit value for the IS. All messages will be stored in MXMemoryStore not only part of them