mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-03 04:55:32 +00:00
feat(webapi): include member_permission
in RoomMetadata
This is currently only included by `room_list` endpoint with authentication.
This commit is contained in:
parent
5eeb12c294
commit
4f48b390f7
3 changed files with 23 additions and 7 deletions
|
@ -329,6 +329,8 @@ pub struct RoomMetadata {
|
|||
/// This may or may not be a precise number.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub unseen_cnt: Option<u64>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub member_permission: Option<MemberPermission>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue