mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-06 15:32:20 +00:00
getGroupChat, getGroupChatPreviews_ (#233)
This commit is contained in:
@@ -34,3 +34,6 @@ singleFieldJSON tagModifier =
|
||||
J.sumEncoding = J.ObjectWithSingleField,
|
||||
J.omitNothingFields = True
|
||||
}
|
||||
|
||||
eitherToMaybe :: Either a b -> Maybe b
|
||||
eitherToMaybe = either (const Nothing) Just
|
||||
|
||||
Reference in New Issue
Block a user