mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Redacted events in timeline (#199)
* Add redacted timeline item and view * Use isOwn and isRedacted properties from sdk * Build redacted items in factory * Include redacted events in timeline * Add changelog * Fix unit tests
This commit is contained in:
@@ -24,7 +24,9 @@ class SettingsViewModelTests: XCTestCase {
|
||||
var context: SettingsViewModelType.Context!
|
||||
|
||||
@MainActor override func setUpWithError() throws {
|
||||
viewModel = SettingsViewModel()
|
||||
let userSession = MockUserSession(clientProxy: MockClientProxy(userIdentifier: ""),
|
||||
mediaProvider: MockMediaProvider())
|
||||
viewModel = SettingsViewModel(withUserSession: userSession)
|
||||
context = viewModel.context
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user