From eba0d96f37c0a384532a3bb7d9b7c6c6bcfa40df Mon Sep 17 00:00:00 2001 From: Yuichiro Kinoshita Date: Thu, 2 Nov 2023 23:40:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20renote=E6=99=82=E3=81=ABchannelId?= =?UTF-8?q?=E3=82=92=E5=BC=95=E3=81=8D=E7=B6=99=E3=81=90=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../milktea/data/infrastructure/note/impl/NoteApiAdapter.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/data/src/main/java/net/pantasystem/milktea/data/infrastructure/note/impl/NoteApiAdapter.kt b/modules/data/src/main/java/net/pantasystem/milktea/data/infrastructure/note/impl/NoteApiAdapter.kt index 1053bd7110..7e3e289252 100644 --- a/modules/data/src/main/java/net/pantasystem/milktea/data/infrastructure/note/impl/NoteApiAdapter.kt +++ b/modules/data/src/main/java/net/pantasystem/milktea/data/infrastructure/note/impl/NoteApiAdapter.kt @@ -9,6 +9,7 @@ import net.pantasystem.milktea.api.mastodon.status.TootStatusDTO import net.pantasystem.milktea.api.misskey.notes.DeleteNote import net.pantasystem.milktea.api.misskey.notes.NoteDTO import net.pantasystem.milktea.api.misskey.notes.NoteRequest +import net.pantasystem.milktea.api.misskey.notes.Vote import net.pantasystem.milktea.api.misskey.notes.mute.ToggleThreadMuteRequest import net.pantasystem.milktea.common.Logger import net.pantasystem.milktea.common.mapCancellableCatching @@ -26,7 +27,6 @@ import net.pantasystem.milktea.model.note.CreateNote import net.pantasystem.milktea.model.note.Note import net.pantasystem.milktea.model.note.NoteState import net.pantasystem.milktea.model.note.poll.Poll -import net.pantasystem.milktea.api.misskey.notes.Vote import net.pantasystem.milktea.model.note.type4Mastodon import javax.inject.Inject @@ -156,7 +156,8 @@ private class NoteApiAdapterMisskeyPattern( CreateNote( author = account, renoteId = target.id, text = null, - visibility = target.visibility + visibility = target.visibility, + channelId = target.channelId, ) ) }