Skip to content
Snippets Groups Projects
Commit 8627f27a authored by insert's avatar insert
Browse files

Channels: Don't return self on msg query.

parent fea68faa
No related merge requests found
......@@ -96,6 +96,7 @@ pub async fn req(user: User, target: Ref, options: Form<Options>) -> Result<Json
ids.insert(message.author.clone());
}
ids.remove(&user.id);
let user_ids = ids.into_iter().collect();
Ok(json!({
......
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