Revision a4bb25f6 ChatSecure/Classes/Controllers/XMPP/OTRXMPPRoomManager.h

View differences:

ChatSecure/Classes/Controllers/XMPP/OTRXMPPRoomManager.h
16 16
NS_ASSUME_NONNULL_BEGIN
17 17
@interface OTRXMPPRoomManager : XMPPModule
18 18

  
19
@property (nonatomic, strong, readonly) XMPPCapabilities *capabilities;
19 20
@property (nonatomic, strong, readonly) XMPPBookmarksModule *bookmarksModule;
20 21
@property (nonatomic, strong, readonly, nullable)  NSArray<NSString*> *conferenceServicesJID;
21
@property (nonatomic, strong, nullable) YapDatabaseConnection * databaseConnection;
22
@property (nonatomic, strong, readonly) YapDatabaseConnection * databaseConnection;
23

  
24
- (instancetype) init NS_UNAVAILABLE;
25
- (instancetype) initWithDatabaseConnection:(YapDatabaseConnection*)databaseConnection
26
                               capabilities:(XMPPCapabilities*)capabilities
27
                              dispatchQueue:(nullable dispatch_queue_t)dispatchQueue;
22 28

  
23 29
/** All room joining should go through this method. This ensures the delegates are setup properly and database is in sync. Returns OTRThreadOwner.threadIdentifier */
24 30
- (nullable NSString *)joinRoom:(XMPPJID *)jid

Also available in: Unified diff