mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 04:06:57 +02:00
Do not expose session from the protocol
This commit is contained in:
@@ -19,7 +19,7 @@ import Foundation
|
||||
@objcMembers
|
||||
public class RecentsListService: NSObject, RecentsListServiceProtocol {
|
||||
|
||||
public private(set) weak var session: MXSession?
|
||||
private weak var session: MXSession?
|
||||
public private(set) var mode: RecentsDataSourceMode
|
||||
public private(set) var query: String?
|
||||
public private(set) var space: MXSpace?
|
||||
|
||||
@@ -21,9 +21,6 @@ public protocol RecentsListServiceProtocol {
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
/// Session instance, Implementations encouraged to hold a weak reference
|
||||
var session: MXSession? { get }
|
||||
|
||||
/// Current mode
|
||||
var mode: RecentsDataSourceMode { get }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user