Merge commit '7621e2f8dec938cf48181c8b10afc9b01f444e68' into beta

This commit is contained in:
Ilya Laktyushin
2025-12-06 02:17:48 +04:00
commit 8344b97e03
28070 changed files with 7995182 additions and 0 deletions
@@ -0,0 +1,30 @@
#import "TGChatTimestamp.h"
@interface TGChatTimestamp ()
{
NSString *_cachedIdentifier;
}
@end
@implementation TGChatTimestamp
- (instancetype)initWithDate:(NSTimeInterval)date string:(NSString *)string
{
self = [super init];
if (self != nil)
{
_date = date;
_string = string;
}
return self;
}
- (NSString *)uniqueIdentifier
{
if (_cachedIdentifier == nil)
_cachedIdentifier = [NSString stringWithFormat:@"ts-%ld", (long)_date];
return _cachedIdentifier;
}
@end