mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix decodeOptionalDouble returning zero instead of nil
This commit is contained in:
@@ -896,7 +896,7 @@ public final class PostboxDecoder {
|
||||
self.offset += 8
|
||||
return value
|
||||
} else {
|
||||
return 0
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user