diff --git a/crates/projection-irc/src/lib.rs b/crates/projection-irc/src/lib.rs index 9331809..4bceaf5 100644 --- a/crates/projection-irc/src/lib.rs +++ b/crates/projection-irc/src/lib.rs @@ -893,7 +893,7 @@ async fn handle_join( ) -> Result<()> { match chan { Chan::Global(chan_name) => { - let room_id = RoomId::from(chan_name.clone())?; + let room_id = RoomId::try_from(chan_name.clone())?; match user_handle.join_room(room_id).await? { JoinResult::Success(room_info) => { produce_on_join_cmd_messages(&config, &user, chan, &room_info, writer).await?;