Skip to content

Commit

Permalink
chore: deprecate UserId
Browse files Browse the repository at this point in the history
  • Loading branch information
avdb13 committed Feb 19, 2024
1 parent b45bc73 commit 776d479
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
1 change: 0 additions & 1 deletion crates/matrix/src/admin/resources/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod room;
pub mod token;
pub mod user;
pub mod user_id;
3 changes: 2 additions & 1 deletion crates/matrix/src/admin/resources/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ pub struct ListRoomQuery {
pub search_term: String,
}

#[derive(Debug, Serialize)]
#[derive(Debug, Default, Serialize)]
pub struct MessagesQuery {
#[serde(skip_serializing_if = "String::is_empty")]
pub from: String,

#[serde(skip_serializing_if = "String::is_empty")]
Expand Down
38 changes: 0 additions & 38 deletions crates/matrix/src/admin/resources/user_id.rs

This file was deleted.

0 comments on commit 776d479

Please sign in to comment.