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

Use boolean instead.

parent b6871901
Branches
Tags
No related merge requests found
...@@ -92,7 +92,7 @@ pub fn dms(user: UserRef) -> Response { ...@@ -92,7 +92,7 @@ pub fn dms(user: UserRef) -> Response {
"$or": [ "$or": [
{ {
"type": channel::ChannelType::DM as i32, "type": channel::ChannelType::DM as i32,
"active": 1 "active": true
}, },
{ {
"type": channel::ChannelType::GROUPDM as i32 "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