mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
Enhancement - Improve the people invite screens.
#904 - MXKContactManager: List the local contacts with methods (instead of handling only the emails). - ContactTableViewCell: Highlight the Matrix-enabled contacts in local contacts section.
This commit is contained in:
@@ -14,21 +14,24 @@
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#import <MatrixSDK/MatrixSDK.h>
|
||||
|
||||
#import "MXKTableViewCell.h"
|
||||
#import "MXKCellRendering.h"
|
||||
#import "MXKImageView.h"
|
||||
#import <MatrixKit/MatrixKit.h>
|
||||
|
||||
/**
|
||||
'ContactTableCell' extends MXKTableViewCell.
|
||||
*/
|
||||
@interface ContactTableViewCell : MXKTableViewCell <MXKCellRendering>
|
||||
{
|
||||
@protected
|
||||
/**
|
||||
The current displayed contact.
|
||||
*/
|
||||
MXKContact *contact;
|
||||
}
|
||||
|
||||
@property (nonatomic) IBOutlet MXKImageView *thumbnailView;
|
||||
@property (nonatomic) IBOutlet UIImageView *thumbnailBadgeView;
|
||||
@property (nonatomic) IBOutlet UILabel *contactDisplayNameLabel;
|
||||
@property (nonatomic) IBOutlet UILabel *lastPresenceLabel;
|
||||
@property (nonatomic) IBOutlet UILabel *contactInformationLabel;
|
||||
@property (nonatomic) IBOutlet UIView *customAccessoryView;
|
||||
|
||||
@property (nonatomic) BOOL showCustomAccessoryView;
|
||||
@@ -36,6 +39,11 @@
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *customAccessViewWidthConstraint;
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *customAccessoryViewLeadingConstraint;
|
||||
|
||||
/**
|
||||
Tell whether the matrix id should be added in the contact display name (NO by default)
|
||||
*/
|
||||
@property (nonatomic) BOOL showMatrixIdInDisplayName;
|
||||
|
||||
// The room where the contact is.
|
||||
// It is used to display the member information (like invitation)
|
||||
// This property is OPTIONAL.
|
||||
|
||||
Reference in New Issue
Block a user