mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -55,7 +55,7 @@ final class NSEUserSession: NSEUserSessionProtocol {
|
||||
var threadsEnabled: Bool {
|
||||
appSettings.threadsEnabled
|
||||
}
|
||||
|
||||
|
||||
init(credentials: KeychainCredentials,
|
||||
roomID: String,
|
||||
clientSessionDelegate: ClientSessionDelegate,
|
||||
@@ -95,7 +95,7 @@ final class NSEUserSession: NSEUserSessionProtocol {
|
||||
func notificationItemProxy(roomID: String, eventID: String) async -> NotificationItemProxyProtocol? {
|
||||
do {
|
||||
let notificationStatus = try await notificationClient.getNotification(roomId: roomID, eventId: eventID)
|
||||
|
||||
|
||||
switch notificationStatus {
|
||||
case .event(let notification):
|
||||
return NotificationItemProxy(notificationItem: notification,
|
||||
@@ -134,7 +134,7 @@ final class NSEUserSession: NSEUserSessionProtocol {
|
||||
|
||||
private final class ClientDelegateWrapper: ClientDelegate {
|
||||
// MARK: - ClientDelegate
|
||||
|
||||
|
||||
func didReceiveAuthError(isSoftLogout: Bool) {
|
||||
MXLog.error("Received authentication error, the NSE can't handle this.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user