diff --git a/src/routes/user.rs b/src/routes/user.rs index fcf237e7f25e6298ad798f434b7868a70ab1fa7d..36b7a12035f054aefbe169db9704a9894da640ef 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -91,7 +91,8 @@ pub fn dms(user: UserRef) -> Response { doc! { "$or": [ { - "type": channel::ChannelType::DM as i32 + "type": channel::ChannelType::DM as i32, + "active": 1 }, { "type": channel::ChannelType::GROUPDM as i32