From ac89551ac4b0d89c2ee2a9b168a95afd26fc4919 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 11 Feb 2023 20:40:44 +0600 Subject: [PATCH 1/4] start 0.8.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index d806b29..e3f55c3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ dokka_version=1.7.20 # Project data group=dev.inmo -version=0.8.0 +version=0.8.1 From a2dab361cffc4a87b303c18bf0e3895567f01ed2 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 11 Feb 2023 20:43:22 +0600 Subject: [PATCH 2/4] MessageMetaInfo now serialize chatId as is instead of ChatId version --- resender/src/commonMain/kotlin/MessageMetaInfo.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resender/src/commonMain/kotlin/MessageMetaInfo.kt b/resender/src/commonMain/kotlin/MessageMetaInfo.kt index f844c63..fa2ba2b 100644 --- a/resender/src/commonMain/kotlin/MessageMetaInfo.kt +++ b/resender/src/commonMain/kotlin/MessageMetaInfo.kt @@ -1,5 +1,6 @@ package dev.inmo.tgbotapi.libraries.resender +import dev.inmo.tgbotapi.types.FullChatIdentifierSerializer import dev.inmo.tgbotapi.types.IdChatIdentifier import dev.inmo.tgbotapi.types.MessageId import dev.inmo.tgbotapi.types.message.abstracts.Message @@ -8,6 +9,7 @@ import kotlinx.serialization.Serializable @Serializable data class MessageMetaInfo( + @Serializable(FullChatIdentifierSerializer::class) val chatId: IdChatIdentifier, val messageId: MessageId, val group: String? = null From cbbe283305eae87c45bc611ac06773255185304a Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 12 Feb 2023 01:13:59 +0600 Subject: [PATCH 3/4] fixes --- resender/src/commonMain/kotlin/MessagesResender.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resender/src/commonMain/kotlin/MessagesResender.kt b/resender/src/commonMain/kotlin/MessagesResender.kt index 63d8893..80439be 100644 --- a/resender/src/commonMain/kotlin/MessagesResender.kt +++ b/resender/src/commonMain/kotlin/MessagesResender.kt @@ -68,7 +68,7 @@ class MessagesResender( ) } }.getOrNull() ?.let { - messageInfo to it + sourceMessagesToSentMessages.add(messageInfo to it) } } else -> { From bfebd1de50cfdf5c10aa357c1ac21dacec548d99 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 12 Feb 2023 01:35:42 +0600 Subject: [PATCH 4/4] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index e3f55c3..42d3688 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ github_release_plugin_version=2.4.1 tgbotapi_version=5.1.0 micro_utils_version=0.16.8 exposed_version=0.41.1 -plagubot_version=3.4.0 +plagubot_version=3.4.1 # Dokka