This repository was archived by the owner on Jun 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
<plist version =" 1.0" >
4
4
<dict >
5
+ <key >NSAppTransportSecurity </key >
6
+ <dict >
7
+ <key >NSAllowsArbitraryLoads </key >
8
+ <true />
9
+ </dict >
5
10
<key >CFBundleDevelopmentRegion </key >
6
11
<string >en </string >
7
12
<key >CFBundleExecutable </key >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Parse.initializeWithConfiguration(ParseClientConfiguration {
19
19
$0. server = " http://localhost:1337/parse "
20
20
} )
21
21
22
- let liveQueryClient = ParseLiveQuery . Client ( server : " http://localhost:1337 " )
22
+ let liveQueryClient = ParseLiveQuery . Client ( )
23
23
24
24
class ChatRoomManager {
25
25
private var currentChatRoom : Room ?
@@ -28,7 +28,7 @@ class ChatRoomManager {
28
28
var connected : Bool { return currentChatRoom != nil }
29
29
var messagesQuery : PFQuery {
30
30
return ( Message . query ( ) ?
31
- . whereKey ( " room_name " , equalTo: currentChatRoom!. name!)
31
+ . whereKey ( " roomName " , equalTo: currentChatRoom!. name!)
32
32
. orderByAscending ( " createdAt " ) ) !
33
33
}
34
34
You can’t perform that action at this time.
0 commit comments