mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-16 10:06:00 +00:00
core: fix settings api (#952)
This commit is contained in:
committed by
GitHub
parent
f561698fb9
commit
d26083d8b7
+1
-1
@@ -2597,7 +2597,7 @@ chatCommandP =
|
||||
"/_network " *> (APISetNetworkConfig <$> jsonP),
|
||||
("/network " <|> "/net ") *> (APISetNetworkConfig <$> netCfgP),
|
||||
("/network" <|> "/net") $> APIGetNetworkConfig,
|
||||
"/_settings" *> (APISetChatSettings <$> chatRefP <* A.space <*> jsonP),
|
||||
"/_settings " *> (APISetChatSettings <$> chatRefP <* A.space <*> jsonP),
|
||||
"/_info #" *> (APIGroupMemberInfo <$> A.decimal <* A.space <*> A.decimal),
|
||||
"/_info @" *> (APIContactInfo <$> A.decimal),
|
||||
("/info #" <|> "/i #") *> (GroupMemberInfo <$> displayName <* A.space <* optional (A.char '@') <*> displayName),
|
||||
|
||||
Reference in New Issue
Block a user