mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
Channels: Don't return self on msg query.
This commit is contained in:
@@ -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!({
|
||||
|
||||
Reference in New Issue
Block a user