mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
PSG-976 Exclude current session from security recommendations and other sessions
This commit is contained in:
@@ -77,7 +77,7 @@ class UserSessionsOverviewViewModel: UserSessionsOverviewViewModelType, UserSess
|
||||
case .linkDevice:
|
||||
completion?(.linkDevice)
|
||||
case .signOutOtherSessions:
|
||||
completion?(.singOutFromUserSessions(sessionInfos: userSessionsOverviewService.sessionInfos))
|
||||
completion?(.singOutFromUserSessions(sessionInfos: userSessionsOverviewService.otherSessions))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ class UserSessionsOverviewViewModel: UserSessionsOverviewViewModelType, UserSess
|
||||
}
|
||||
|
||||
private func showSessions(filteredBy filter: UserOtherSessionsFilter) {
|
||||
completion?(.showOtherSessions(sessionInfos: userSessionsOverviewService.sessionInfos,
|
||||
completion?(.showOtherSessions(sessionInfos: userSessionsOverviewService.otherSessions,
|
||||
filter: filter))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user