Display room members in Room Participants View Controller

This commit is contained in:
giomfo
2015-09-11 13:03:20 +02:00
parent f23a5d3f92
commit 0e799dd2dc
9 changed files with 634 additions and 256 deletions
@@ -17,16 +17,35 @@
#import <MatrixKit/MatrixKit.h>
@interface RoomParticipantsViewController : MXKTableViewController <UISearchBarDelegate>
{
@protected
/**
The matrix id of the current user (nil if the user is not a participant of the room).
*/
NSString *userMatrixId;
/**
Section indexes
*/
NSInteger addParticipantsSection;
NSInteger searchResultSection;
NSInteger participantsSection;
/**
Mutable list of participants
*/
NSMutableArray *mutableParticipants;
/**
Store MXKContact instance by matrix user id
*/
NSMutableDictionary *mxkContactsById;
}
/**
The matrix id of the current user (nil if the user is not a participant of the room).
A matrix room (nil by default)
*/
@property (nonatomic) NSString *userMatrixId;
/**
The matrix ids of the room participants. The room admin must be at the first position (if different than user).
*/
@property (nonatomic) NSArray *roomParticipants;
@property (nonatomic) MXRoom *mxRoom;
/**
*/