remove auto delete timer, #854

This commit is contained in:
luvletter2333 2022-07-06 20:48:53 +08:00
parent 77d0e82cb0
commit d0e1ebd029
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
1 changed files with 2 additions and 2 deletions

View File

@ -3088,9 +3088,9 @@ ChatActivity extends BaseFragment implements NotificationCenter.NotificationCent
if (currentEncryptedChat != null) {
timeItem2 = headerItem.addSubItem(chat_enc_timer, R.drawable.baseline_timer_24, LocaleController.getString("SetTimer", R.string.SetTimer), themeDelegate);
} else if (currentChat == null && !currentUser.self || ChatObject.canUserDoAdminAction(currentChat, ChatObject.ACTION_DELETE_MESSAGES)) {
} /*else if (currentChat == null && !currentUser.self || ChatObject.canUserDoAdminAction(currentChat, ChatObject.ACTION_DELETE_MESSAGES)) {
headerItem.addSubItem(auto_delete_timer, R.drawable.baseline_timer_24, LocaleController.getString("AutoDeleteSetTimer", R.string.AutoDeleteSetTimer));
}
}*/
clearHistoryItem = headerItem.addSubItem(clear_history, R.drawable.msg_clear, LocaleController.getString("ClearHistory", R.string.ClearHistory), themeDelegate);