mirror of
https://github.com/chatmail/core.git
synced 2026-05-23 00:36:32 +03:00
feat: Don't add "Failed to send message to ..." info messages to group chats
A NDN may arrive days after the message is sent when it's already impossible to tell which message wasn't delivered looking at the "Failed to send" info message, so it only clutters the chat and makes the user think they tried to send some message recently which isn't true. Moreover, the info message duplicates the info already displayed in the error message behind the exclamation mark and info messages do not point to the message that is failed to be sent. Moreover it works rarely because `mimeparser.rs` only parses recipients from `x-failed-recipients`, so it likely only works for Gmail. Postfix does not add this `X-Failed-Recipients` header. Let's remove this parsing too. Thanks to @link2xt for pointing this out.
This commit is contained in:
@@ -6911,7 +6911,7 @@ void dc_event_unref(dc_event_t* event);
|
||||
|
||||
/// "Failed to send message to %1$s."
|
||||
///
|
||||
/// Used in status messages.
|
||||
/// Unused. Was used in group chat status messages.
|
||||
/// - %1$s will be replaced by the name of the contact the message cannot be sent to
|
||||
#define DC_STR_FAILED_SENDING_TO 74
|
||||
|
||||
|
||||
Reference in New Issue
Block a user