mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
Rename add_selfavatar into attach_selfavatar to match field name
This commit is contained in:
@@ -68,7 +68,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
|
||||
pub fn from_msg(
|
||||
context: &'a Context,
|
||||
msg: &'b Message,
|
||||
add_selfavatar: bool,
|
||||
attach_selfavatar: bool,
|
||||
) -> Result<MimeFactory<'a, 'b>, Error> {
|
||||
let chat = Chat::load_from_db(context, msg.chat_id)?;
|
||||
|
||||
@@ -156,7 +156,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
|
||||
references,
|
||||
req_mdn,
|
||||
last_added_location_id: 0,
|
||||
attach_selfavatar: add_selfavatar,
|
||||
attach_selfavatar,
|
||||
context,
|
||||
};
|
||||
Ok(factory)
|
||||
|
||||
Reference in New Issue
Block a user