Skip to content

Commit

Permalink
Make some PrivateMessageIn fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 23, 2024
1 parent 6048722 commit 87e7e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openmls/src/framing/private_message_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,17 @@ impl PrivateMessageIn {
}

/// Get the `group_id` in the `PrivateMessage`.
pub(crate) fn group_id(&self) -> &GroupId {
pub fn group_id(&self) -> &GroupId {
&self.group_id
}

/// Get the `epoch` in the `PrivateMessage`.
pub(crate) fn epoch(&self) -> GroupEpoch {
pub fn epoch(&self) -> GroupEpoch {
self.epoch
}

/// Get the `content_type` in the `PrivateMessage`.
pub(crate) fn content_type(&self) -> ContentType {
pub fn content_type(&self) -> ContentType {
self.content_type
}

Expand Down

0 comments on commit 87e7e25

Please sign in to comment.