mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
core: include pending group link connections into chat previews on joining side (#1291)
This commit is contained in:
@@ -391,10 +391,10 @@ instance ToJSON MsgContent where
|
||||
MCFile t -> J.pairs $ "type" .= MCFile_ <> "text" .= t
|
||||
|
||||
instance ToField MsgContent where
|
||||
toField = toField . encodeJson
|
||||
toField = toField . encodeJSON
|
||||
|
||||
instance FromField MsgContent where
|
||||
fromField = fromTextField_ decodeJson
|
||||
fromField = fromTextField_ decodeJSON
|
||||
|
||||
data CMEventTag (e :: MsgEncoding) where
|
||||
XMsgNew_ :: CMEventTag 'Json
|
||||
|
||||
Reference in New Issue
Block a user