mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Ignore empty display names
This commit is contained in:
parent
1e797353d0
commit
7b221ca86e
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ public final class SessionMetaProtocol : NSObject {
|
|||
} else {
|
||||
displayName = rawDisplayName
|
||||
}
|
||||
guard !displayName.isEmpty else { return }
|
||||
let profileManager = SSKEnvironment.shared.profileManager
|
||||
profileManager.updateProfileForContact(withID: hexEncodedPublicKey, displayName: displayName, with: transaction)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue