-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/candidate' into fix/missing_mls_conversation
- Loading branch information
Showing
12 changed files
with
250 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,15 +72,18 @@ data class CryptoQualifiedClientId( | |
|
||
data class WireIdentity( | ||
val clientId: CryptoQualifiedClientId, | ||
val handle: String, | ||
val handle: String, // handle format is "{scheme}%40{handle}@{domain}", example: "wireapp://%[email protected]" | ||
val displayName: String, | ||
val domain: String, | ||
val certificate: String, | ||
val status: CryptoCertificateStatus, | ||
val thumbprint: String, | ||
val serialNumber: String, | ||
val endTimestampSeconds: Long | ||
) | ||
) { | ||
val handleWithoutSchemeAtSignAndDomain: String | ||
get() = handle.substringAfter("://%40").removeSuffix("@$domain") | ||
} | ||
|
||
enum class CryptoCertificateStatus { | ||
VALID, EXPIRED, REVOKED; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.