Feed threading option in the SDK

This commit is contained in:
ismailgulek
2022-01-28 04:32:06 +03:00
parent b2c34fe37c
commit f99197e6ec
2 changed files with 4 additions and 0 deletions
@@ -3210,6 +3210,7 @@ TableViewSectionsDelegate>
- (void)toggleEnableThreads:(UISwitch *)sender
{
RiotSettings.shared.enableThreads = sender.isOn;
MXSDKOptions.sharedInstance.enableThreads = sender.isOn;
[[MXKRoomDataSourceManager sharedManagerForMatrixSession:self.mainSession] reset];
[[AppDelegate theDelegate] restoreEmptyDetailsViewController];
}