// // OmemoState.h // monalxmpp // // Created by Thilo Molitor on 05.11.22. // Copyright © 2022 monal-im.org. All rights reserved. // #ifndef OmemoState_h #define OmemoState_h #import NS_ASSUME_NONNULL_BEGIN @interface OmemoState : NSObject -(void) updateWith:(OmemoState*) state; // *** data *** @property (nonatomic, strong) NSMutableDictionary*>* openBundleFetches; @property (nonatomic, strong) NSMutableSet* openDevicelistFetches; @property (nonatomic, strong) NSMutableSet* openDevicelistSubscriptions; @property (nonatomic, strong) NSMutableDictionary*>* queuedKeyTransportElements; // jid -> @[deviceID1, deviceID2] @property (nonatomic, strong) NSMutableDictionary*>* queuedSessionRepairs; // *** flags *** @property (atomic, assign) BOOL hasSeenDeviceList; @property (atomic, assign) BOOL catchupDone; @end NS_ASSUME_NONNULL_END #endif /* OmemoState_h */