mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
allow stickers with gif-images
This commit is contained in:
@@ -398,7 +398,7 @@ impl MimeMessage {
|
||||
if part.typ == Viewtype::Audio && self.get(HeaderDef::ChatVoiceMessage).is_some() {
|
||||
part.typ = Viewtype::Voice;
|
||||
}
|
||||
if part.typ == Viewtype::Image {
|
||||
if part.typ == Viewtype::Image || part.typ == Viewtype::Gif {
|
||||
if let Some(value) = self.get(HeaderDef::ChatContent) {
|
||||
if value == "sticker" {
|
||||
part.typ = Viewtype::Sticker;
|
||||
|
||||
Reference in New Issue
Block a user