Add EmojiReaction to membershipupdatemessage

This commit is contained in:
Andrea Maria Piana 2020-07-28 14:23:34 +02:00
parent 7e7d95a907
commit 4a83c86c3e
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 4 additions and 3 deletions

View File

@ -95,9 +95,10 @@ func MembershipUpdateMessageFromProtobuf(raw *protobuf.MembershipUpdateMessage)
events = append(events, *verifiedEvent)
}
return &MembershipUpdateMessage{
ChatID: raw.ChatId,
Events: events,
Message: raw.GetMessage(),
ChatID: raw.ChatId,
Events: events,
Message: raw.GetMessage(),
EmojiReaction: raw.GetEmojiReaction(),
}, nil
}