Updated protobuf

pull/71/head
Mikunj 5 years ago
parent e1373b7fd9
commit 5301858c09

@ -148,6 +148,7 @@ message DataMessage {
END_SESSION = 1; END_SESSION = 1;
EXPIRATION_TIMER_UPDATE = 2; EXPIRATION_TIMER_UPDATE = 2;
PROFILE_KEY_UPDATE = 4; PROFILE_KEY_UPDATE = 4;
SESSION_RESTORE = 64;
UNLINK_DEVICE = 128; UNLINK_DEVICE = 128;
} }

@ -3433,6 +3433,7 @@ extension SSKProtoDataMessageLokiProfile.SSKProtoDataMessageLokiProfileBuilder {
case endSession = 1 case endSession = 1
case expirationTimerUpdate = 2 case expirationTimerUpdate = 2
case profileKeyUpdate = 4 case profileKeyUpdate = 4
case sessionRestore = 64
case unlinkDevice = 128 case unlinkDevice = 128
} }
@ -3441,6 +3442,7 @@ extension SSKProtoDataMessageLokiProfile.SSKProtoDataMessageLokiProfileBuilder {
case .endSession: return .endSession case .endSession: return .endSession
case .expirationTimerUpdate: return .expirationTimerUpdate case .expirationTimerUpdate: return .expirationTimerUpdate
case .profileKeyUpdate: return .profileKeyUpdate case .profileKeyUpdate: return .profileKeyUpdate
case .sessionRestore: return .sessionRestore
case .unlinkDevice: return .unlinkDevice case .unlinkDevice: return .unlinkDevice
} }
} }
@ -3450,6 +3452,7 @@ extension SSKProtoDataMessageLokiProfile.SSKProtoDataMessageLokiProfileBuilder {
case .endSession: return .endSession case .endSession: return .endSession
case .expirationTimerUpdate: return .expirationTimerUpdate case .expirationTimerUpdate: return .expirationTimerUpdate
case .profileKeyUpdate: return .profileKeyUpdate case .profileKeyUpdate: return .profileKeyUpdate
case .sessionRestore: return .sessionRestore
case .unlinkDevice: return .unlinkDevice case .unlinkDevice: return .unlinkDevice
} }
} }

@ -881,6 +881,7 @@ struct SignalServiceProtos_DataMessage {
case endSession // = 1 case endSession // = 1
case expirationTimerUpdate // = 2 case expirationTimerUpdate // = 2
case profileKeyUpdate // = 4 case profileKeyUpdate // = 4
case sessionRestore // = 64
case unlinkDevice // = 128 case unlinkDevice // = 128
init() { init() {
@ -892,6 +893,7 @@ struct SignalServiceProtos_DataMessage {
case 1: self = .endSession case 1: self = .endSession
case 2: self = .expirationTimerUpdate case 2: self = .expirationTimerUpdate
case 4: self = .profileKeyUpdate case 4: self = .profileKeyUpdate
case 64: self = .sessionRestore
case 128: self = .unlinkDevice case 128: self = .unlinkDevice
default: return nil default: return nil
} }
@ -902,6 +904,7 @@ struct SignalServiceProtos_DataMessage {
case .endSession: return 1 case .endSession: return 1
case .expirationTimerUpdate: return 2 case .expirationTimerUpdate: return 2
case .profileKeyUpdate: return 4 case .profileKeyUpdate: return 4
case .sessionRestore: return 64
case .unlinkDevice: return 128 case .unlinkDevice: return 128
} }
} }
@ -3478,6 +3481,7 @@ extension SignalServiceProtos_DataMessage.Flags: SwiftProtobuf._ProtoNameProvidi
1: .same(proto: "END_SESSION"), 1: .same(proto: "END_SESSION"),
2: .same(proto: "EXPIRATION_TIMER_UPDATE"), 2: .same(proto: "EXPIRATION_TIMER_UPDATE"),
4: .same(proto: "PROFILE_KEY_UPDATE"), 4: .same(proto: "PROFILE_KEY_UPDATE"),
64: .same(proto: "SESSION_RESTORE"),
128: .same(proto: "UNLINK_DEVICE"), 128: .same(proto: "UNLINK_DEVICE"),
] ]
} }

Loading…
Cancel
Save