From 2741fd4bdc7f7e4442acf5b62b565381c390d801 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 21 Feb 2017 11:00:49 -0500 Subject: [PATCH] Enable WebRTC-based audio and video calls by default. // FREEBIE --- src/Account/TSAttributes.m | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Account/TSAttributes.m b/src/Account/TSAttributes.m index c6fd9f651..ebad7ca00 100644 --- a/src/Account/TSAttributes.m +++ b/src/Account/TSAttributes.m @@ -1,9 +1,5 @@ // -// TSAttributes.m -// Signal -// -// Created by Frederic Jacobs on 22/08/15. -// Copyright (c) 2015 Open Whisper Systems. All rights reserved. +// Copyright (c) 2017 Open Whisper Systems. All rights reserved. // #import "TSAttributes.h" @@ -24,7 +20,8 @@ return @{ @"signalingKey" : signalingKey, @"AuthKey" : authToken, - @"voice" : [NSNumber numberWithBool:YES], // all Signal-iOS clients support voice + @"voice" : @(YES), // all Signal-iOS clients support voice + @"video" : @(YES), // all Signal-iOS clients support WebRTC-based voice and video calls. @"registrationId" : [NSString stringWithFormat:@"%i", [TSAccountManager getOrGenerateRegistrationId]] }; }