mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
docs: Fix documentation for membership change stock strings (#7944)
This commit is contained in:
@@ -620,10 +620,10 @@ pub(crate) async fn msg_chat_description_changed(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stock string: `You added member %1$s.` or `Member %1$s added by %2$s.`.
|
/// Stock string: `Member %1$s added.`, `You added member %1$s.` or `Member %1$s added by %2$s.`.
|
||||||
///
|
///
|
||||||
/// The `added_member_addr` parameter should be an email address and is looked up in the
|
/// The `added_member` and `by_contact` contacts
|
||||||
/// contacts to combine with the display name.
|
/// are looked up in the database to get the display names.
|
||||||
pub(crate) async fn msg_add_member_local(
|
pub(crate) async fn msg_add_member_local(
|
||||||
context: &Context,
|
context: &Context,
|
||||||
added_member: ContactId,
|
added_member: ContactId,
|
||||||
@@ -646,10 +646,10 @@ pub(crate) async fn msg_add_member_local(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stock string: `I added member %1$s.` or `Member %1$s removed by %2$s.`.
|
/// Stock string: `Member %1$s removed.` or `You removed member %1$s.` or `Member %1$s removed by %2$s.`
|
||||||
///
|
///
|
||||||
/// The `removed_member_addr` parameter should be an email address and is looked up in
|
/// The `removed_member` and `by_contact` contacts
|
||||||
/// the contacts to combine with the display name.
|
/// are looked up in the database to get the display names.
|
||||||
pub(crate) async fn msg_del_member_local(
|
pub(crate) async fn msg_del_member_local(
|
||||||
context: &Context,
|
context: &Context,
|
||||||
removed_member: ContactId,
|
removed_member: ContactId,
|
||||||
|
|||||||
Reference in New Issue
Block a user