diff --git a/td/telegram/OptionManager.cpp b/td/telegram/OptionManager.cpp index ce49b89b3..552d3b317 100644 --- a/td/telegram/OptionManager.cpp +++ b/td/telegram/OptionManager.cpp @@ -68,7 +68,13 @@ OptionManager::OptionManager(Td *td) send_closure(G()->td(), &Td::send_update, get_update_suggested_actions_object(added_actions, {})); } } else if (name == "default_reaction") { - send_update_default_reaction_type(get_option_string(name)); + auto value = get_option_string(name); + if (value.empty()) { + // legacy + set_option_empty(name); + } else { + send_update_default_reaction_type(value); + } } }