mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-05-01 04:07:51 +02:00
23 lines
541 B
Objective-C
23 lines
541 B
Objective-C
#import "TGBridgePeerNotificationSettings.h"
|
|
|
|
NSString *const TGBridgePeerNotificationSettingsMuteForKey = @"muteFor";
|
|
|
|
@implementation TGBridgePeerNotificationSettings
|
|
|
|
- (instancetype)initWithCoder:(NSCoder *)aDecoder
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_muteFor = [aDecoder decodeInt32ForKey:TGBridgePeerNotificationSettingsMuteForKey];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)encodeWithCoder:(nonnull NSCoder *)aCoder
|
|
{
|
|
[aCoder encodeInt32:self.muteFor forKey:TGBridgePeerNotificationSettingsMuteForKey];
|
|
}
|
|
|
|
@end
|