Manos Chorianopoulos

fix sendDeviceInfoIfNecessary

......@@ -365,11 +365,11 @@ static const char* jailbreak_apps[] =
BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData];
// TODO: DELETE
NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
NSLog(@"device_info_has_changed: %@",device_info_has_changed);
NSLog(@"oldApplicationData: %@",oldApplicationData);
NSLog(@"application_data_has_changed: %@",application_data_has_changed);
NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
// NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
// NSLog(@"device_info_has_changed: %@",device_info_has_changed);
// NSLog(@"oldApplicationData: %@",oldApplicationData);
// NSLog(@"application_data_has_changed: %@",application_data_has_changed);
// NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) {
[self sendDeviceInfo];
......@@ -414,11 +414,11 @@ static const char* jailbreak_apps[] =
BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData];
// TODO: DELETE
NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
NSLog(@"device_info_has_changed: %@",device_info_has_changed);
NSLog(@"oldApplicationData: %@",oldApplicationData);
NSLog(@"application_data_has_changed: %@",application_data_has_changed);
NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
// NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
// NSLog(@"device_info_has_changed: %@",device_info_has_changed);
// NSLog(@"oldApplicationData: %@",oldApplicationData);
// NSLog(@"application_data_has_changed: %@",application_data_has_changed);
// NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
// if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) {
[self sendDeviceInfo:newDeviceToken];
......