Harden private media migration compatibility

This commit is contained in:
jack
2026-07-26 02:09:31 +02:00
committed by jack
parent a31cd80027
commit 40238c5e43
31 changed files with 2703 additions and 120 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ struct NoisePayload {
// Safely get the first byte
let firstByte = data[data.startIndex]
guard let type = NoisePayloadType(rawValue: firstByte) else {
guard let type = NoisePayloadType.decoded(rawValue: firstByte) else {
return nil
}