mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
Send system message to chat when user changes autodelete timer
This commit is contained in:
@@ -217,7 +217,7 @@ pub fn dc_receive_imf(
|
||||
};
|
||||
|
||||
if chat::get_autodelete_timer(context, chat_id) != timer {
|
||||
match chat::set_autodelete_timer(context, chat_id, timer) {
|
||||
match chat::inner_set_autodelete_timer(context, chat_id, timer) {
|
||||
Ok(()) => {
|
||||
let stock_str = context.stock_system_msg(
|
||||
StockMessage::MsgAutodeleteTimerChanged,
|
||||
|
||||
Reference in New Issue
Block a user