diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2018-04-09 10:27:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 10:27:43 -0700 |
commit | 8f1ae72156909d95391ea3bb6e20fdc713a094ea (patch) | |
tree | e400d15da5f3bf4e3a45907c76092a9bb3d8f4ae | |
parent | 42bc113754d2f9e2f0f6cf552916ae76149e717d (diff) | |
parent | 117e2ac09d2bb8be0e3bef540a2779e950e8a751 (diff) |
Return @YES/@NO in .info/connected
Unify the representation of the dotInfoConnected value to always be a…
-rw-r--r-- | Firebase/Database/Core/FRepo.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Database/Core/FRepo.m b/Firebase/Database/Core/FRepo.m index 1c4b956..ae1d8e8 100644 --- a/Firebase/Database/Core/FRepo.m +++ b/Firebase/Database/Core/FRepo.m @@ -513,11 +513,11 @@ } - (void)onConnect:(FPersistentConnection *)fpconnection { - [self updateInfo:kDotInfoConnected withValue:@true]; + [self updateInfo:kDotInfoConnected withValue:@YES]; } - (void)onDisconnect:(FPersistentConnection *)fpconnection { - [self updateInfo:kDotInfoConnected withValue:@false]; + [self updateInfo:kDotInfoConnected withValue:@NO]; [self runOnDisconnectEvents]; } |