Bump the Rust SDK to v26.01.06 (#4933)

This commit is contained in:
Skye Elliot
2026-01-08 10:40:00 +00:00
committed by GitHub
parent 8e0ccd0015
commit 00dc901ce1
6 changed files with 16 additions and 12 deletions
@@ -68,16 +68,16 @@ enum EncryptionAuthenticity: Hashable {
extension EncryptionAuthenticity {
init?(shieldState: ShieldState) {
switch shieldState {
case .red(let code, _):
case .red(let code):
self.init(shieldStateCode: code, color: .red)
case .grey(let code, _):
case .grey(let code):
self.init(shieldStateCode: code, color: .gray)
case .none:
return nil
}
}
init(shieldStateCode: ShieldStateCode, color: EncryptionAuthenticity.Color) {
init(shieldStateCode: TimelineEventShieldStateCode, color: EncryptionAuthenticity.Color) {
switch shieldStateCode {
case .authenticityNotGuaranteed:
self = .notGuaranteed(color: color)