core: use batch connection deletion api (#1814)

This commit is contained in:
JRoberts
2023-01-24 16:24:34 +04:00
committed by GitHub
parent a0bf298b66
commit 2a20f78877
10 changed files with 141 additions and 91 deletions
+2 -2
View File
@@ -181,8 +181,8 @@ data ChatCommand
| ListUsers
| APISetActiveUser UserId
| SetActiveUser UserName
| APIDeleteUser UserId
| DeleteUser UserName
| APIDeleteUser UserId Bool
| DeleteUser UserName Bool
| StartChat {subscribeConnections :: Bool, enableExpireChatItems :: Bool}
| APIStopChat
| APIActivateChat
+1 -1
View File
@@ -1865,7 +1865,7 @@ data CommandFunction
| CFAllowConn
| CFAcceptContact
| CFAckMessage
| CFDeleteConn
| CFDeleteConn -- not used
deriving (Eq, Show, Generic)
instance FromField CommandFunction where fromField = fromTextField_ textDecode