Skip to content

Commit

Permalink
Merge pull request #10 from bbktsk/conversation-types-fix
Browse files Browse the repository at this point in the history
Fix to_string for SlackConversationType
  • Loading branch information
abdolence authored Nov 8, 2020
2 parents 6f91fc5 + d6923fd commit a10d8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ impl ToString for SlackConversationType {
match self {
SlackConversationType::IM => "im".into(),
SlackConversationType::MPIM => "mpim".into(),
SlackConversationType::PRIVATE => "private".into(),
SlackConversationType::PUBLIC => "public".into(),
SlackConversationType::PRIVATE => "private_channel".into(),
SlackConversationType::PUBLIC => "public_channel".into(),
}
}
}

0 comments on commit a10d8f8

Please sign in to comment.