mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-26 13:10:43 +00:00
Merge branch 'release/2.5.3'
This commit is contained in:
commit
6ec271d229
@ -584,7 +584,7 @@ static NSInteger binaryImageSort(id binary1, id binary2, void *context) {
|
|||||||
|
|
||||||
/* Make sure UTF8/16 characters are handled correctly */
|
/* Make sure UTF8/16 characters are handled correctly */
|
||||||
NSInteger offset = 0;
|
NSInteger offset = 0;
|
||||||
NSInteger index = 0;
|
NSUInteger index = 0;
|
||||||
for (index = 0; index < [imageName length]; index++) {
|
for (index = 0; index < [imageName length]; index++) {
|
||||||
NSRange range = [imageName rangeOfComposedCharacterSequenceAtIndex:index];
|
NSRange range = [imageName rangeOfComposedCharacterSequenceAtIndex:index];
|
||||||
if (range.length > 1) {
|
if (range.length > 1) {
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
if (identifier) {
|
if (identifier) {
|
||||||
NSCharacterSet *hexSet = [NSCharacterSet characterSetWithCharactersInString:@"0123456789abcdef"];
|
NSCharacterSet *hexSet = [NSCharacterSet characterSetWithCharactersInString:@"0123456789abcdef"];
|
||||||
NSCharacterSet *inStringSet = [NSCharacterSet characterSetWithCharactersInString:identifier];
|
NSCharacterSet *inStringSet = [NSCharacterSet characterSetWithCharactersInString:identifier];
|
||||||
result = ([_appIdentifier length] == 32) && ([hexSet isSupersetOfSet:inStringSet]);
|
result = ([identifier length] == 32) && ([hexSet isSupersetOfSet:inStringSet]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -38,6 +38,12 @@ This documentation provides integrated help in Xcode for all public APIs and a s
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### Version 2.5.3
|
||||||
|
|
||||||
|
- General:
|
||||||
|
|
||||||
|
- Fix checking validity of live identifier not working correctly
|
||||||
|
|
||||||
### Version 2.5.2
|
### Version 2.5.2
|
||||||
|
|
||||||
- General:
|
- General:
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
BUILD_NUMBER = 4
|
BUILD_NUMBER = 5
|
||||||
VERSION_STRING = 2.5.2
|
VERSION_STRING = 2.5.3
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BITHOCKEY_VERSION="@\"2.5.2\""
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BITHOCKEY_VERSION="@\"2.5.3\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user