Skip to content

Commit

Permalink
relaxed visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
quetz committed Feb 1, 2024
1 parent d3fa543 commit 4974d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/grammers-client/src/types/chat/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::fmt;
/// this variant will always represent a broadcast channel. The only difference between a
/// broadcast channel and a megagroup are the permissions (default, and available).
#[derive(Clone)]
pub struct Channel(pub(crate) tl::types::Channel);
pub struct Channel(pub tl::types::Channel);

impl fmt::Debug for Channel {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion lib/grammers-client/src/types/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Message {
//
// Using `enum` just for that would clutter all methods with `match`, so instead service
// messages are interpreted as messages and their action stored separatedly.
pub(crate) msg: tl::types::Message,
pub msg: tl::types::Message,
pub(crate) action: Option<tl::enums::MessageAction>,
pub(crate) client: Client,
// When fetching messages or receiving updates, a set of chats will be present. A single
Expand Down

0 comments on commit 4974d77

Please sign in to comment.