mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-18 14:06:35 +00:00
core: stop stats when chat is stopped (#4616)
* core: stop stats when chat is stopped * rename field * simplexmq
This commit is contained in:
@@ -1933,7 +1933,7 @@ public enum DatabaseError: Decodable, Hashable {
|
||||
|
||||
public enum SQLiteError: Decodable, Hashable {
|
||||
case errorNotADatabase
|
||||
case error(String)
|
||||
case error(dbError: String)
|
||||
}
|
||||
|
||||
public enum AgentErrorType: Decodable, Hashable {
|
||||
|
||||
+1
-1
@@ -5769,7 +5769,7 @@ sealed class DatabaseError {
|
||||
@Serializable
|
||||
sealed class SQLiteError {
|
||||
@Serializable @SerialName("errorNotADatabase") object ErrorNotADatabase: SQLiteError()
|
||||
@Serializable @SerialName("error") class Error(val error: String): SQLiteError()
|
||||
@Serializable @SerialName("error") class Error(val dbError: String): SQLiteError()
|
||||
}
|
||||
|
||||
@Serializable
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ constraints: zip +disable-bzip2 +disable-zstd
|
||||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/simplex-chat/simplexmq.git
|
||||
tag: a76e15fd77d68a09bc43820c1cf6bd1c71700100
|
||||
tag: fc6b9c0e1b197d435b95b7b385f4c4f65f91b632
|
||||
|
||||
source-repository-package
|
||||
type: git
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"https://github.com/simplex-chat/simplexmq.git"."a76e15fd77d68a09bc43820c1cf6bd1c71700100" = "07vrjpid03w8f1himhvaaljzspwxxkln814k5kx0yw9hhmabh7zy";
|
||||
"https://github.com/simplex-chat/simplexmq.git"."fc6b9c0e1b197d435b95b7b385f4c4f65f91b632" = "1ahwnkzkrvw1jlwgqmkay09m90zbdgzf1rzvn9370dy1kz943cgf";
|
||||
"https://github.com/simplex-chat/hs-socks.git"."a30cc7a79a08d8108316094f8f2f82a0c5e1ac51" = "0yasvnr7g91k76mjkamvzab2kvlb1g5pspjyjn2fr6v83swjhj38";
|
||||
"https://github.com/simplex-chat/direct-sqlcipher.git"."f814ee68b16a9447fbb467ccc8f29bdd3546bfd9" = "1ql13f4kfwkbaq7nygkxgw84213i0zm7c1a8hwvramayxl38dq5d";
|
||||
"https://github.com/simplex-chat/sqlcipher-simple.git"."a46bd361a19376c5211f1058908fc0ae6bf42446" = "1z0r78d8f0812kxbgsm735qf6xx8lvaz27k1a0b4a2m0sshpd5gl";
|
||||
|
||||
@@ -1204,7 +1204,7 @@ data DatabaseError
|
||||
| DBErrorOpen {sqliteError :: SQLiteError}
|
||||
deriving (Show, Exception)
|
||||
|
||||
data SQLiteError = SQLiteErrorNotADatabase | SQLiteError String
|
||||
data SQLiteError = SQLiteErrorNotADatabase | SQLiteError {dbError :: String}
|
||||
deriving (Show, Exception)
|
||||
|
||||
throwDBError :: DatabaseError -> CM ()
|
||||
|
||||
Reference in New Issue
Block a user