Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit 93d64e4

Browse files
committed
One widening was an actual conversion
1 parent 89d719b commit 93d64e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripty_audio_handler/src/connect.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ pub async fn connect_to_vc(
6565
(
6666
ChannelType::NewsThread | ChannelType::PublicThread | ChannelType::PrivateThread,
6767
Some(parent),
68-
) => (parent, Some(transcript_target_channel)),
68+
) => (
69+
parent,
70+
Some(transcript_target_channel.widen().expect_thread()),
71+
),
6972

7073
// a thread with no parent? i must inform my supervisor post-haste!
7174
(

0 commit comments

Comments
 (0)