зеркало из https://github.com/nextcloud/talk-ios.git
Add FederatedCapabilities to extensions
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Родитель
acd3bcaff7
Коммит
27f250aa78
|
@ -93,7 +93,7 @@ typedef void (^CreateConversationNotificationCompletionBlock)(void);
|
|||
RLMRealmConfiguration *configuration = [RLMRealmConfiguration defaultConfiguration];
|
||||
configuration.fileURL = databaseURL;
|
||||
configuration.schemaVersion= kTalkDatabaseSchemaVersion;
|
||||
configuration.objectClasses = @[TalkAccount.class, NCRoom.class, ServerCapabilities.class];
|
||||
configuration.objectClasses = @[TalkAccount.class, NCRoom.class, ServerCapabilities.class, FederatedCapabilities.class];
|
||||
configuration.migrationBlock = ^(RLMMigration *migration, uint64_t oldSchemaVersion) {
|
||||
// At the very minimum we need to update the version with an empty block to indicate that the schema has been upgraded (automatically) by Realm
|
||||
};
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
RLMRealmConfiguration *configuration = [RLMRealmConfiguration defaultConfiguration];
|
||||
configuration.fileURL = databaseURL;
|
||||
configuration.schemaVersion= kTalkDatabaseSchemaVersion;
|
||||
configuration.objectClasses = @[TalkAccount.class, ServerCapabilities.class, NCRoom.class];
|
||||
configuration.objectClasses = @[TalkAccount.class, NCRoom.class, ServerCapabilities.class, FederatedCapabilities.class];
|
||||
configuration.migrationBlock = ^(RLMMigration *migration, uint64_t oldSchemaVersion) {
|
||||
// At the very minimum we need to update the version with an empty block to indicate that the schema has been upgraded (automatically) by Realm
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче