hyperlink mxids and room aliases: open room member detail or contact detail screen when clicking on a mxid #442

This commit is contained in:
manuroe
2016-08-26 16:00:32 +02:00
parent 22a283a9eb
commit e9f8659290
3 changed files with 52 additions and 3 deletions
+5 -1
View File
@@ -34,7 +34,11 @@
// Replace event formatter
self.eventFormatter = [[EventFormatter alloc] initWithMatrixSession:self.mxSession];
self.eventFormatter.treatMatrixUserIdAsLink = YES;
self.eventFormatter.treatMatrixRoomIdAsLink = YES;
self.eventFormatter.treatMatrixRoomAliasAsLink = YES;
self.eventFormatter.treatMatrixEventIdAsLink = YES;
// Handle timestamp and read receips display at Vector app level (see [tableView: cellForRowAtIndexPath:])
self.useCustomDateTimeLabel = YES;
self.useCustomReceipts = YES;