refactor: add 5 minutes limit to auto delete msg

This commit is contained in:
Tristan Yang
2023-01-06 09:09:58 +08:00
parent 4ebd8902a8
commit b9ba2b523d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const AutoDeleteMessages = ({ id, type = "channel" }: Props) => {
const { t } = useTranslation("setting", { keyPrefix: "auto_delete_msg" });
const options = [
{ title: t("off"), value: 0 },
{ title: t("30_seconds"), value: 30 },
{ title: t("5_min"), value: 5 * 60 },
{ title: t("10_min"), value: 10 * 60 },
{ title: t("1_hour"), value: 60 * 60 },
{ title: t("1_day"), value: 24 * 60 * 60 },