From 3acff81baa5769e922a05f93d3a23435243ddcf8 Mon Sep 17 00:00:00 2001 From: Daneul Kim Date: Thu, 28 May 2026 22:12:28 +0900 Subject: [PATCH] Fix live stream chat relay fallback --- .../publicChannels/send/ChannelNewMessageViewModel.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/send/ChannelNewMessageViewModel.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/send/ChannelNewMessageViewModel.kt index e9b59f6c10..480757da65 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/send/ChannelNewMessageViewModel.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/publicChannels/send/ChannelNewMessageViewModel.kt @@ -297,7 +297,13 @@ open class ChannelNewMessageViewModel : val version = draftTag.current cancel() - accountViewModel.account.signAndSendPrivately(template, channelRelays) + if (channel is LiveActivitiesChannel) { + accountViewModel.account.signAndSendPrivatelyOrBroadcast(template) { + channelRelays.toList() + } + } else { + accountViewModel.account.signAndSendPrivately(template, channelRelays) + } accountViewModel.viewModelScope.launch(Dispatchers.IO) { accountViewModel.account.deleteDraftIgnoreErrors(version) }