mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-28 13:56:21 +00:00
Do not crash on authentiation token NULL && update bctbx
This commit is contained in:
parent
0102fe6dd2
commit
cda9957f7d
2 changed files with 4 additions and 2 deletions
|
|
@ -1355,7 +1355,9 @@ static void linphone_iphone_call_encryption_changed(LinphoneCore *lc, LinphoneCa
|
||||||
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
||||||
[dict setObject:[NSValue valueWithPointer:call] forKey:@"call"];
|
[dict setObject:[NSValue valueWithPointer:call] forKey:@"call"];
|
||||||
[dict setObject:[NSNumber numberWithBool:on] forKey:@"on"];
|
[dict setObject:[NSNumber numberWithBool:on] forKey:@"on"];
|
||||||
[dict setObject:[NSString stringWithUTF8String:authentication_token] forKey:@"token"];
|
if (authentication_token) {
|
||||||
|
[dict setObject:[NSString stringWithUTF8String:authentication_token] forKey:@"token"];
|
||||||
|
}
|
||||||
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallEncryptionChanged object:self userInfo:dict];
|
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallEncryptionChanged object:self userInfo:dict];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 058967d340a97d7a4c155490398162b24c2ea399
|
Subproject commit 7254fe94e7155f0164fca177f8bf54ab82b76e84
|
||||||
Loading…
Add table
Reference in a new issue