Update src/core/types/message.rs

Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Andrew Andersen 2019-09-07 18:30:48 +03:00 committed by GitHub
parent bca625a9b3
commit a74715f888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ pub enum ForwardKind {
#[derive(Debug, Deserialize, Eq, Hash, PartialEq)]
#[serde(untagged)]
pub enum UserOrSenderName {
pub enum ForwardedFrom {
User { from: User },
SenderName { sender_name: String },
}