Skip to content
Snippets Groups Projects
Verified Commit b6871901 authored by insert's avatar insert
Browse files

Don't send inactive DMs to user.

parent fc03dd2c
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment