From 9aa9b0fc5ab2a8bf7fb1bbecc4db73bc1f9a0516 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 21 Jan 2016 11:42:19 -0500 Subject: [PATCH] Copy the pair state into the temporary host --- Limelight/Database/TemporaryHost.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Limelight/Database/TemporaryHost.m b/Limelight/Database/TemporaryHost.m index 717a033..d396a49 100644 --- a/Limelight/Database/TemporaryHost.m +++ b/Limelight/Database/TemporaryHost.m @@ -23,6 +23,7 @@ self.mac = host.mac; self.name = host.name; self.uuid = host.uuid; + self.pairState = [host.pairState intValue]; NSMutableSet *appList = [[NSMutableSet alloc] init]; @@ -43,6 +44,7 @@ parentHost.mac = self.mac; parentHost.name = self.name; parentHost.uuid = self.uuid; + parentHost.pairState = [NSNumber numberWithInt:self.pairState]; NSMutableSet *applist = [[NSMutableSet alloc] init]; for (TemporaryApp* app in self.appList) {