mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
wrap payload to a json-structure that can be extended as needed
This commit is contained in:
@@ -1163,9 +1163,7 @@ impl<'a> MimeFactory<'a> {
|
||||
let json = self.msg.param.get(Param::Arg).unwrap_or_default();
|
||||
parts.push(context.build_status_update_part(json).await);
|
||||
} else if self.msg.viewtype == Viewtype::W30 {
|
||||
let json = context
|
||||
.get_w30_status_updates_with_format(self.msg.id, None, true)
|
||||
.await?;
|
||||
let json = context.get_w30_status_updates(self.msg.id, None).await?;
|
||||
if json != "[]" {
|
||||
parts.push(context.build_status_update_part(&json).await);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user