Add comments on new classes and methods.

This commit is contained in:
SBiOSoftWhare
2020-10-09 09:17:14 +02:00
committed by manuroe
parent 9eb08d1c05
commit 45cd1d696f
4 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
import Foundation
/// `HomeserverConfigurationBuilder` build `HomeserverConfiguration` objects according to injected inputs
@objcMembers
final class HomeserverConfigurationBuilder: NSObject {
@@ -25,6 +26,7 @@ final class HomeserverConfigurationBuilder: NSObject {
// MARK: - Public
/// Create an `HomeserverConfiguration` from an HS Well-Known when possible otherwise it takes hardcoded values from BuildSettings by default.
func build(from wellKnown: MXWellKnown?) -> HomeserverConfiguration {
let isE2EEByDefaultEnabled: Bool