From b9068b95b88287f8d40aec5b197c4cade2281b92 Mon Sep 17 00:00:00 2001 From: iequidoo Date: Wed, 5 Jun 2024 22:25:59 -0300 Subject: [PATCH] feat(ffi): Add DC_STR_CANT_DECRYPT_OUTGOING_MSGS define --- deltachat-ffi/deltachat.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 327b36c30..3fc9b747f 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -7808,6 +7808,12 @@ void dc_event_unref(dc_event_t* event); /// `%1$s` will be replaced by the provider's domain. #define DC_STR_INVALID_UNENCRYPTED_MAIL 174 +/// "⚠️ It seems you are using Delta Chat on multiple devices that cannot decrypt each other's outgoing messages. To fix this, on the older device use \"Settings / Add Second Device\" and follow the instructions." +/// +/// Added to the device chat if could not decrypt a new outgoing message (i.e. not when fetching +/// existing messages). But no more than once a day. +#define DC_STR_CANT_DECRYPT_OUTGOING_MSGS 175 + /// "You reacted %1$s to '%2$s'" /// /// `%1$s` will be replaced by the reaction, usually an emoji