mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Room summary: MXKSessionRecentsDataSource.eventFormatter has been removed. Overide the EventFormatter by another mean
This commit is contained in:
@@ -97,16 +97,6 @@
|
||||
- (MXKSessionRecentsDataSource *)addMatrixSession:(MXSession *)mxSession
|
||||
{
|
||||
MXKSessionRecentsDataSource *recentsDataSource = [super addMatrixSession:mxSession];
|
||||
|
||||
if (recentsDataSource)
|
||||
{
|
||||
// Replace default event formatter
|
||||
recentsDataSource.eventFormatter = [[EventFormatter alloc] initWithMatrixSession:mxSession];
|
||||
recentsDataSource.eventFormatter.isForSubtitle = YES;
|
||||
|
||||
// And default room summary updater
|
||||
mxSession.roomSummaryUpdateDelegate = recentsDataSource.eventFormatter;
|
||||
}
|
||||
|
||||
// Initialise the public room directory data source
|
||||
// Note that it is single matrix session only for now
|
||||
|
||||
Reference in New Issue
Block a user