Merge branch 'stable'

This commit is contained in:
Evgeny Poberezkin
2023-10-09 18:04:11 +01:00
4 changed files with 39 additions and 5 deletions
+7
View File
@@ -50,6 +50,13 @@ public func chatMigrateInit(_ useKey: String? = nil, confirmMigrations: Migratio
return result
}
public func chatCloseStore() {
let err = fromCString(chat_close_store(getChatCtrl()))
if err != "" {
logger.error("chatCloseStore error: \(err)")
}
}
public func resetChatCtrl() {
chatController = nil
migrationResult = nil