Channels: Don't return self on msg query.

This commit is contained in:
Paul committed 2021-06-02 10:12:53 +01:00
1 parent fea68faa54
commit 8627f27a50
1 file changed
+1
+1
View File
@@ -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!({