mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
Update User-Agent to be compliant with Linphone android (use git commit hash)
This commit is contained in:
parent
bd3e023dff
commit
38353256bb
1 changed files with 2 additions and 2 deletions
|
|
@ -1148,8 +1148,8 @@ static LinphoneCoreVTable linphonec_vtable = {
|
|||
NSString *chatDBFileName = [LinphoneManager documentFile:kLinphoneInternalChatDBFilename];
|
||||
const char* lRootCa = [[LinphoneManager bundleFile:@"rootca.pem"] cStringUsingEncoding:[NSString defaultCStringEncoding]];
|
||||
|
||||
linphone_core_set_user_agent(theLinphoneCore,"LinphoneIPhone",
|
||||
[[[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey] UTF8String]);
|
||||
linphone_core_set_user_agent(theLinphoneCore,"LinphoneIPhone", linphone_core_get_version());
|
||||
|
||||
[_contactSipField release];
|
||||
_contactSipField = [[self lpConfigStringForKey:@"contact_im_type_value" withDefault:@"SIP"] retain];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue