File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Sources/StreamChat/Models/Location Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44# Upcoming
55
66## StreamChat
7+ ### ✅ Added
8+ - Expose ` NewLocationInfo.init ` [ #3815 ] ( https://github.com/GetStream/stream-chat-swift/pull/3815 )
79### 🐞 Fixed
810- Fix querying threads by disabled channels crashing [ #3813 ] ( https://github.com/GetStream/stream-chat-swift/pull/3813 )
911
Original file line number Diff line number Diff line change @@ -12,4 +12,10 @@ public struct NewLocationInfo {
1212 public let longitude : Double
1313 /// The end date of the location sharing if it is a live location.
1414 public let endAt : Date ?
15+
16+ public init ( latitude: Double , longitude: Double , endAt: Date ? ) {
17+ self . latitude = latitude
18+ self . longitude = longitude
19+ self . endAt = endAt
20+ }
1521}
You can’t perform that action at this time.
0 commit comments