From 7e37a439042cf4892b903cd17b8363e4de7d155d Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 4 Apr 2022 17:40:00 +0600 Subject: [PATCH] small potential fix --- .../tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt index 5308cfd..2459366 100644 --- a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt +++ b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt @@ -30,7 +30,7 @@ class InMemoryMessagesFilesCache : MessagesFilesCache { ) { map[chatId to messageIdentifier] = StorageFile( filename, - byteReadChannelAllocator.invoke().toByteArray() + byteReadChannelAllocator.invoke() ) }