mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
Don't send inactive DMs to user.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user