Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-12-03 02:43:02 +0300
committerGitHub <noreply@github.com>2016-12-03 02:43:02 +0300
commit0962b973272f3822ca24ee7d87d543fddc77935a (patch)
tree21eb33f8ae317f7594283a6c4d154285f9966863
parentef0132e30b59e64ddd3221bb5532f081e52ba363 (diff)
parent43770f58938d0b9345b53b5cf8f64f15e6b52799 (diff)
Merge PR #97: MUConnectionController: respect the user's TCP mode setting.
-rw-r--r--Source/Classes/MUConnectionController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Classes/MUConnectionController.m b/Source/Classes/MUConnectionController.m
index 9ff9838..4c43d5c 100644
--- a/Source/Classes/MUConnectionController.m
+++ b/Source/Classes/MUConnectionController.m
@@ -120,6 +120,7 @@ NSString *MUConnectionClosedNotification = @"MUConnectionClosedNotification";
- (void) establishConnection {
_connection = [[MKConnection alloc] init];
[_connection setDelegate:self];
+ [_connection setForceTCP:[[NSUserDefaults standardUserDefaults] boolForKey:@"NetworkForceTCP"]];
_serverModel = [[MKServerModel alloc] initWithConnection:_connection];
[_serverModel addDelegate:self];