mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-06 03:06:04 +00:00
fix: voice ingress crashing due to new Result in AMQP::new_auto() (#765)
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ mod guard;
|
|||||||
async fn main() -> Result<(), rocket::Error> {
|
async fn main() -> Result<(), rocket::Error> {
|
||||||
revolt_config::configure!(voice_ingress);
|
revolt_config::configure!(voice_ingress);
|
||||||
|
|
||||||
let amqp = AMQP::new_auto().await;
|
let amqp = AMQP::new_auto().await.unwrap();
|
||||||
|
|
||||||
let database = DatabaseInfo::Auto.connect().await.unwrap();
|
let database = DatabaseInfo::Auto.connect().await.unwrap();
|
||||||
let voice_client = VoiceClient::from_revolt_config().await;
|
let voice_client = VoiceClient::from_revolt_config().await;
|
||||||
|
|||||||
Reference in New Issue
Block a user