Send system message to chat when user changes autodelete timer

This commit is contained in:
Alexander Krotov
2020-01-06 08:03:09 +01:00
parent b4337685cf
commit e1773edf7f
2 changed files with 34 additions and 4 deletions

View File

@@ -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,