mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-6019 fix permalink bugs
This commit is contained in:
@@ -791,6 +791,15 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
|
||||
userInfo:@{
|
||||
kMXKRoomDataSourceTimelineErrorErrorKey: error
|
||||
}];
|
||||
|
||||
// bwi: #6019 in special cases the timeline is empty, if an error occurs, reload the timeline to display the timeline
|
||||
// Do a "classic" reset. The room view controller will paginate
|
||||
// from the events stored in the timeline store
|
||||
[self.timeline resetPagination];
|
||||
|
||||
// Update here data source state if it is not already ready
|
||||
[self setState:MXKDataSourceStateReady];
|
||||
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user