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-10-15 21:52:49 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-11-28 00:09:22 +0300
commit43770f58938d0b9345b53b5cf8f64f15e6b52799 (patch)
tree21eb33f8ae317f7594283a6c4d154285f9966863
parentef0132e30b59e64ddd3221bb5532f081e52ba363 (diff)
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];