add dc_msg_set_override_sender_name() api

with mailinglists, we already receive and handle per-message-names,
this api allows this also eg. for bots based on the deltachat api.
This commit is contained in:
B. Petersen
2021-02-14 00:21:22 +01:00
committed by bjoern
parent 57841cdcc0
commit 5c684eb3c1
4 changed files with 83 additions and 1 deletions

View File

@@ -23,7 +23,8 @@ pub enum Param {
File = b'f',
/// For messages: This name should be shown instead of contact.get_display_name()
/// (used if this is a mailinglist)
/// (used if this is a mailinglist
/// or explictly set using set_override_sender_name(), eg. by bots)
OverrideSenderDisplayname = b'O',
/// For Messages