Merge pull request #17 from vector-im/read_receipts_for_incoming_messages

The read receipts are displayed for incoming messages.
This commit is contained in:
Yannick LE COLLEN 2015-12-09 14:12:17 +01:00
commit 984e341e75
6 changed files with 36 additions and 0 deletions

View file

@ -18,6 +18,12 @@
@implementation RoomOutgoingAttachmentBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
- (void)render:(MXKCellData *)cellData
{
[super render:cellData];

View file

@ -18,6 +18,12 @@
@implementation RoomOutgoingAttachmentWithPaginationTitleBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
- (void)render:(MXKCellData *)cellData
{
[super render:cellData];

View file

@ -18,4 +18,10 @@
@implementation RoomOutgoingAttachmentWithoutSenderInfoBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
@end

View file

@ -18,4 +18,10 @@
@implementation RoomOutgoingTextMsgBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
@end

View file

@ -18,6 +18,12 @@
@implementation RoomOutgoingTextMsgWithPaginationTitleBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
- (void)render:(MXKCellData *)cellData
{
[super render:cellData];

View file

@ -18,4 +18,10 @@
@implementation RoomOutgoingTextMsgWithoutSenderInfoBubbleCell
- (void)awakeFromNib
{
[super awakeFromNib];
self.readReceiptsAlignment = ReadReceiptAlignmentRight;
}
@end