diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/privateDM/send/NewGroupDMScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/privateDM/send/NewGroupDMScreen.kt index 87331176c..b5e90a697 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/privateDM/send/NewGroupDMScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/privateDM/send/NewGroupDMScreen.kt @@ -132,7 +132,6 @@ import kotlinx.collections.immutable.persistentListOf import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.FlowPreview import kotlinx.coroutines.delay -import kotlinx.coroutines.flow.collectLatest import kotlinx.coroutines.launch import kotlinx.coroutines.withContext @@ -162,14 +161,6 @@ fun NewGroupDMScreen( val scope = rememberCoroutineScope() - LaunchedEffect(key1 = postViewModel.draftTag) { - launch(Dispatchers.IO) { - postViewModel.draftTag.versions.collectLatest { - postViewModel.sendDraft() - } - } - } - LaunchedEffect(Unit) { launch(Dispatchers.IO) { message?.ifBlank { null }?.let {