fixes in panel

This commit is contained in:
2022-11-18 11:58:42 +06:00
parent 5366dcdba1
commit 1f6dd7aad1
2 changed files with 9 additions and 7 deletions

View File

@@ -27,5 +27,5 @@ fun PostsMessages(
{ string },
{ json.encodeToString(ChatIdToMessageSerializer, this) },
{ PostId(this) },
{ json.decodeFromString(ChatIdToMessageSerializer, this) as Pair<IdChatIdentifier, MessageIdentifier> }
{ json.decodeFromString(ChatIdToMessageSerializer, this).let { (it.first as IdChatIdentifier) to it.second } }
)