From c714a372210192b5dc2f9b4bc6cc5d47d63d15f2 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Fri, 25 Jul 2025 22:21:41 +0100 Subject: [PATCH] core: 6.4.1.1 --- bots/api/TYPES.md | 5 ----- bots/src/API/Docs/Types.hs | 4 ++-- simplex-chat.cabal | 2 +- src/Simplex/Chat/Remote.hs | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/bots/api/TYPES.md b/bots/api/TYPES.md index cf85ef6eac..4b61c4afa1 100644 --- a/bots/api/TYPES.md +++ b/bots/api/TYPES.md @@ -541,11 +541,6 @@ RcvGroupE2EEInfo: ChatBanner: - type: "chatBanner" -InvalidJSON: -- type: "invalidJSON" -- direction: [MsgDirection](#msgdirection) -- json: string - --- diff --git a/bots/src/API/Docs/Types.hs b/bots/src/API/Docs/Types.hs index 188515311d..8309ee28ba 100644 --- a/bots/src/API/Docs/Types.hs +++ b/bots/src/API/Docs/Types.hs @@ -179,8 +179,8 @@ ciQuoteType = chatTypesDocsData :: [(SumTypeInfo, SumTypeJsonEncoding, String, [ConsName], Expr, Text)] chatTypesDocsData = [ ((sti @(Chat 'CTDirect)) {typeName = "AChat"}, STRecord, "", [], "", ""), - ((sti @JSONChatInfo) {typeName = "ChatInfo"}, STUnion, "JCInfo", [], "", ""), - ((sti @JSONCIContent) {typeName = "CIContent"}, STUnion, "JCI", [], "", ""), + ((sti @JSONChatInfo) {typeName = "ChatInfo"}, STUnion, "JCInfo", ["JCInfoInvalidJSON"], "", ""), + ((sti @JSONCIContent) {typeName = "CIContent"}, STUnion, "JCI", ["JCIInvalidJSON"], "", ""), ((sti @JSONCIDeleted) {typeName = "CIDeleted"}, STUnion, "JCID", [], "", ""), ((sti @JSONCIDirection) {typeName = "CIDirection"}, STUnion, "JCI", [], "", ""), ((sti @JSONCIFileStatus) {typeName = "CIFileStatus"}, STUnion, "JCIFS", [], "", ""), diff --git a/simplex-chat.cabal b/simplex-chat.cabal index 13a1f3afe1..59e8008fce 100644 --- a/simplex-chat.cabal +++ b/simplex-chat.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: simplex-chat -version: 6.4.1.0 +version: 6.4.1.1 category: Web, System, Services, Cryptography homepage: https://github.com/simplex-chat/simplex-chat#readme author: simplex.chat diff --git a/src/Simplex/Chat/Remote.hs b/src/Simplex/Chat/Remote.hs index f9427d6ab2..2ae9e106cb 100644 --- a/src/Simplex/Chat/Remote.hs +++ b/src/Simplex/Chat/Remote.hs @@ -75,7 +75,7 @@ remoteFilesFolder = "simplex_v1_files" -- when acting as host minRemoteCtrlVersion :: AppVersion -minRemoteCtrlVersion = AppVersion [6, 4, 0, 5, 1] +minRemoteCtrlVersion = AppVersion [6, 4, 1, 0] -- when acting as controller minRemoteHostVersion :: AppVersion