mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-22 03:40:17 +00:00
ios: self destruct improvements
This commit is contained in:
@@ -101,7 +101,9 @@ func activateChat(appState: AppState = .active) {
|
||||
}
|
||||
}
|
||||
|
||||
func initChatAndMigrate(refreshInvitations: Bool = true) {
|
||||
func initChatAndMigrate(ignoreSelfDestruct: Bool = false, refreshInvitations: Bool = true) {
|
||||
if !ignoreSelfDestruct && kcSelfDestructPassword.get() != nil { return }
|
||||
|
||||
let m = ChatModel.shared
|
||||
if (!m.chatInitialized) {
|
||||
m.v3DBMigration = v3DBMigrationDefault.get()
|
||||
|
||||
Reference in New Issue
Block a user