mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Api update [skip ci]
This commit is contained in:
@@ -8,7 +8,7 @@ extension PeerGeoLocation {
|
||||
init?(apiLocation: Api.ChannelLocation) {
|
||||
switch apiLocation {
|
||||
case let .channelLocation(geopoint, address):
|
||||
if case let .geoPoint(_, longitude, latitude, _) = geopoint {
|
||||
if case let .geoPoint(_, longitude, latitude, _, _) = geopoint {
|
||||
self.init(latitude: latitude, longitude: longitude, address: address)
|
||||
} else {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user