Revert "api!: remove APIs for video chat invitations"

This reverts commit 23bfa4fc43.
This commit is contained in:
Hocuri
2025-10-07 12:45:20 +02:00
committed by GitHub
parent 209a8026fb
commit 71ac2d168e
25 changed files with 644 additions and 18 deletions

View File

@@ -1565,6 +1565,11 @@ impl MimeFactory {
"Chat-Content",
mail_builder::headers::raw::Raw::new("sticker").into(),
));
} else if msg.viewtype == Viewtype::VideochatInvitation {
headers.push((
"Chat-Content",
mail_builder::headers::raw::Raw::new("videochat-invitation").into(),
));
} else if msg.viewtype == Viewtype::Call {
headers.push((
"Chat-Content",