mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 19:34:25 +02:00
Fix display session name
This commit is contained in:
@@ -19,7 +19,7 @@ import Foundation
|
||||
/// Enables to build user session name
|
||||
enum UserSessionNameFormatter {
|
||||
/// Session name with client name and session display name
|
||||
static func sessionName(deviceType: DeviceType, sessionDisplayName: String?) -> String {
|
||||
sessionDisplayName?.vc_nilIfEmpty() ?? deviceType.name
|
||||
static func sessionName(sessionId: String, sessionDisplayName: String?) -> String {
|
||||
sessionDisplayName?.vc_nilIfEmpty() ?? sessionId
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user