mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
7 lines
227 B
Swift
7 lines
227 B
Swift
|
|
public func getUserHexEncodedPublicKey() -> String {
|
|
if let keyPair = OWSIdentityManager.shared().identityKeyPair() { // Can be nil under some circumstances
|
|
return keyPair.hexEncodedPublicKey
|
|
}
|
|
return ""
|
|
}
|